Create an object which allows manipulating a Git repository. Because the location of $GIT_DIR (the .git directory) is queried at construction, the repository must exist.
Run a command, and return true if it succeeds.
Spawn a cat-file process which can read git objects by demand.
Spawn a hash-object process which can hash and write git objects on the fly.
Spawn a update-ref process which can update git refs on the fly.
Extract a commit's tree to a given directory
Extract a tree to a given directory
A convenience function which loads the entire Git history into a graph.
Run a batch cat-file query.
Import a directory tree into the object store, and return the new tree object's hash.
Run a command with pipe redirections. Return the pipes.
Run a command, and return its output, sans trailing newline.
Run a command. Throw if it fails.
Batch-write the given objects to the database. The hashes are saved to the "hash" fields of the passed objects.
Tries to match the default destination of git clone.
Global options to add to commandPrefix during construction.
A parsed Git author/committer line.
Strong typed OIDs to distinguish which kind of object they identify.
A convenience function which loads the entire Git history into a graph.
Git object identifier (identifies blobs, trees, commits, etc.)
The parsed representation of a raw Git object.
Spawn a cat-file process which can read git objects by demand.
Spawn a hash-object process which can hash and write git objects on the fly.
Spawn a update-ref process which can update git refs on the fly.
The prefix to apply to all executed commands. Includes the "git" program, and all of its top-level options.
The environment that commands will be executed with. This field and commandPrefix are populated at construction, but may be modified afterwards, before any operations.
The path to the repository's .git directory.
The path to the repository's work tree.
Represents an object which allows manipulating a Git repository.