• Tyler Wanek's avatar
    Cleaned up callbacks, descriptor, supplement, Stash implementation · 60ecbcc5
    Tyler Wanek authored
    Added features to nodegit that are now in libgit2:
    
    NodeGit.Stash.apply(repository, index, options)
    NodeGit.Stash.drop(repository, index)
    NodeGit.Stash.pop(repository, index, options)
    NodeGit.Stash.save(repository, index, options)
    
    As well as added in StashApplyOptions which contains:
    a CheckoutOptions field, and a stash progress callback.
    
    The stash progress takes 1 parameter: progress, which is of type NodeGit.Stash.APPLY_PROGRESS
    
    All the stash operations are tested.
    60ecbcc5
callbacks.json 13.1 KB