- check
bool check(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
- createObjectReader
ObjectReader createObjectReader()
Spawn a cat-file process which can read git objects by demand.
- createObjectWriter
ObjectWriter createObjectWriter(string type)
ObjectMultiWriter createObjectWriter()
Spawn a hash-object process which can hash and write git objects on the fly.
- createRefWriter
RefWriter createRefWriter()
Spawn a update-ref process which can update git refs on the fly.
- exportCommit
void exportCommit(string commit, string path, ObjectReader reader, bool delegate(string) pathFilter)
Extract a commit's tree to a given directory
- exportTree
void exportTree(Hash treeHash, string path, ObjectReader reader, bool delegate(string) pathFilter)
Extract a tree to a given directory
- getHistory
History getHistory(string[] extraRefs)
Undocumented in source. Be warned that the author may not have intended to support it.
- getObjects
GitObject[] getObjects(Hash[] hashes)
Run a batch cat-file query.
- importTree
Hash importTree(string path, ObjectMultiWriter writer, bool delegate(string) pathFilter)
Import a directory tree into the object store, and return the new tree object's hash.
- pipe
auto pipe(string[] args, Redirect redirect)
Undocumented in source. Be warned that the author may not have intended to support it.
- pipe
auto pipe(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
- query
string query(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
- run
void run(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
- writeObjects
void writeObjects(GitObject[] objects)
Batch-write the given objects to the database.
The hashes are saved to the "hash" fields of the passed objects.