GithubHelp home page GithubHelp logo

Comments (3)

samcday avatar samcday commented on June 3, 2024

@milani

Thanks for the find! Just so you know though I dropped the latest version of gitteh, which has actually removed the need for addEntry()/removeEntry() in Tree objects. Instead, tree entries are just in an array as a property on the Tree (tree.entries[]).

from node-gitteh.

milani avatar milani commented on June 3, 2024

aha. Let's say I have a tree. then removing an entry from this array property and saving tree is enough. ha?! very good. I'm writing a module on top of gitteh. Maybe we can collaborate on designing it. Now it is just a wiki module using git as file storage. but I want to develop it to be a handful module for working with gitteh and github.

from node-gitteh.

samcday avatar samcday commented on June 3, 2024

@milani

That's correct! As it happens though, saving Trees is currently unimplemented as it was broken in the latest libgit2 stable release.

However, it's already back in the devel branch, so it'll be making its way back to gitteh 0.2.0 (which will be released as soon as libgit2 0.12.0 lands).

As a headsup though, the "standard" for creating a Tree is actually to take the Git Index and save that as a tree (also coming in gitteh 0.2.0).

from node-gitteh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.