summaryrefslogtreecommitdiff
path: root/v0.3.0.json
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2012-05-19 02:06:20 +0200
committerVicent Marti <tanoku@gmail.com>2012-05-19 02:06:20 +0200
commite9ec10073b02f09e8729149b904d5d006576c6b1 (patch)
tree91789d6fcd35cb05eff8a1ff329753d88b49aadf /v0.3.0.json
parent683633cc00a024cfb165e10a5cdc6b10a9bea868 (diff)
downloadlibgit2-e9ec10073b02f09e8729149b904d5d006576c6b1.tar.gz
generated docs
Diffstat (limited to 'v0.3.0.json')
-rw-r--r--v0.3.0.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/v0.3.0.json b/v0.3.0.json
index d9975262b..7cbffb6ee 100644
--- a/v0.3.0.json
+++ b/v0.3.0.json
@@ -1 +1 @@
-{"functions":{"git_signature_dup":{"return":{"type":"git_signature *","comment":"a copy of sig, NULL on out of memory"},"group":"signature","file":"signature.h","sig":"const git_signature *","comments":"All internal strings are also duplicated.\n @sig signature to duplicated","argline":"const git_signature *sig","line":52,"args":[{"type":"const git_signature *","comment":"","name":"sig"}],"rawComments":"\n Create a copy of an existing signature.\n\n All internal strings are also duplicated.\n @sig signature to duplicated\n @return a copy of sig, NULL on out of memory\n\n","lineto":59,"description":"Create a copy of an existing signature."},"git_repository_index":{"return":{"type":"int","comment":"0 on success; error code if the index could not be opened"},"group":"repository","file":"repository.h","sig":"git_index **::git_repository *","comments":"This is a cheap operation; the index is only opened on the first call,\n and subsequent calls only retrieve the previous pointer.","argline":"git_index **index, git_repository *repo","line":163,"args":[{"type":"git_index **","comment":"Pointer where to store the index","name":"index"},{"type":"git_repository *","comment":"a repository object","name":"repo"}],"rawComments":"\n Get the Index file of a Git repository\n\n This is a cheap operation; the index is only opened on the first call,\n and subsequent calls only retrieve the previous pointer.\n\n @param index Pointer where to store the index\n @param repo a repository object\n @return 0 on success; error code if the index could not be opened\n\n","lineto":173,"description":"Get the Index file of a Git repository"},"git_revwalk_hide":{"return":{"type":"int","comment":""},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk *::git_commit *","comments":"","argline":"git_revwalk *walk, git_commit *commit","line":93,"args":[{"type":"git_revwalk *","comment":"","name":"walk"},{"type":"git_commit *","comment":"the commit that will be ignored during the traversal","name":"commit"}],"rawComments":"\n Mark a commit (and its ancestors) uninteresting for the output.\n @param walker the walker being used for the traversal.\n @param commit the commit that will be ignored during the traversal\n\n","lineto":98,"description":"Mark a commit (and its ancestors) uninteresting for the output. @param walker the walker being used for the traversal."},"git_repository_lookup":{"return":{"type":"int","comment":"a reference to the object"},"group":"repository","file":"repository.h","sig":"git_object **::git_repository *::const git_oid *::git_otype","comments":"The generated reference is owned by the repository and\n should not be freed by the user.\n\n The 'type' parameter must match the type of the object\n in the odb; the method will fail otherwise.\n The special value 'GIT_OBJ_ANY' may be passed to let\n the method guess the object's type.","argline":"git_object **object, git_repository *repo, const git_oid *id, git_otype type","line":136,"args":[{"type":"git_object **","comment":"pointer to the looked-up object","name":"object"},{"type":"git_repository *","comment":"the repository to look up the object","name":"repo"},{"type":"const git_oid *","comment":"the unique identifier for the object","name":"id"},{"type":"git_otype","comment":"the type of the object","name":"type"}],"rawComments":"\n Lookup a reference to one of the objects in the repostory.\n\n The generated reference is owned by the repository and\n should not be freed by the user.\n\n The 'type' parameter must match the type of the object\n in the odb; the method will fail otherwise.\n The special value 'GIT_OBJ_ANY' may be passed to let\n the method guess the object's type.\n\n @param object pointer to the looked-up object\n @param repo the repository to look up the object\n @param id the unique identifier for the object\n @param type the type of the object\n @return a reference to the object\n\n","lineto":153,"description":"Lookup a reference to one of the objects in the repostory."},"git_blob_lookup":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"blob","file":"blob.h","sig":"git_blob **::git_repository *::const git_oid *","comments":"","argline":"git_blob **blob, git_repository *repo, const git_oid *id","line":42,"args":[{"type":"git_blob **","comment":"pointer to the looked up blob","name":"blob"},{"type":"git_repository *","comment":"the repo to use when locating the blob.","name":"repo"},{"type":"const git_oid *","comment":"identity of the blob to locate.","name":"id"}],"rawComments":"\n Lookup a blob object from a repository.\n The generated blob object is owned by the revision\n repo and shall not be freed by the user.\n\n @param blob pointer to the looked up blob\n @param repo the repo to use when locating the blob.\n @param id identity of the blob to locate.\n @return 0 on success; error code otherwise\n\n","lineto":55,"description":"Lookup a blob object from a repository. The generated blob object is owned by the revision repo and shall not be freed by the user."},"git_object_free":{"return":{"type":"void","comment":""},"group":"object","file":"object.h","sig":"git_object *","comments":"Repository objects are managed automatically by the library,\n but this method can be used to force freeing one of the\n objects.\n\n Careful: freeing objects in the middle of a repository\n traversal will most likely cause errors.","argline":"git_object *object","line":87,"args":[{"type":"git_object *","comment":"the object to free","name":"object"}],"rawComments":"\n Free a reference to one of the objects in the repository.\n\n Repository objects are managed automatically by the library,\n but this method can be used to force freeing one of the\n objects.\n\n Careful: freeing objects in the middle of a repository\n traversal will most likely cause errors.\n\n @param object the object to free\n\n","lineto":99,"description":"Free a reference to one of the objects in the repository."},"git_object__size":{"return":{"type":"size_t","comment":"size in bytes of the object"},"group":"object","file":"object.h","sig":"git_otype","comments":"For all the core types, this would the equivalent\n of calling `sizeof(git_commit)` if the core types\n were not opaque on the external API.","argline":"git_otype type","line":129,"args":[{"type":"git_otype","comment":"object type to get its size","name":"type"}],"rawComments":"\n Get the size in bytes for the structure which\n acts as an in-memory representation of any given\n object type.\n\n For all the core types, this would the equivalent\n of calling `sizeof(git_commit)` if the core types\n were not opaque on the external API.\n\n @param type object type to get its size\n @return size in bytes of the object\n\n","lineto":141,"description":"Get the size in bytes for the structure which acts as an in-memory representation of any given object type."},"git_repository_open":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"repository","file":"repository.h","sig":"git_repository **::const char *","comments":"The 'path' argument must point to an existing git repository\n folder, e.g.\n\n\t\t/path/to/my_repo/.git/\t(normal repository)\n\t\t\t\t\t\t\tobjects/\n\t\t\t\t\t\t\tindex\n\t\t\t\t\t\t\tHEAD\n\n\t\t/path/to/bare_repo/\t\t(bare repository)\n\t\t\t\t\t\tobjects/\n\t\t\t\t\t\tindex\n\t\t\t\t\t\tHEAD\n\n\tThe method will automatically detect if 'path' is a normal\n\tor bare repository or fail is 'path' is neither.","argline":"git_repository **repository, const char *path","line":41,"args":[{"type":"git_repository **","comment":"pointer to the repo which will be opened","name":"repository"},{"type":"const char *","comment":"the path to the repository","name":"path"}],"rawComments":"\n Open a git repository.\n\n The 'path' argument must point to an existing git repository\n folder, e.g.\n\n\t\t/path/to/my_repo/.git/\t(normal repository)\n\t\t\t\t\t\t\tobjects/\n\t\t\t\t\t\t\tindex\n\t\t\t\t\t\t\tHEAD\n\n\t\t/path/to/bare_repo/\t\t(bare repository)\n\t\t\t\t\t\tobjects/\n\t\t\t\t\t\tindex\n\t\t\t\t\t\tHEAD\n\n\tThe method will automatically detect if 'path' is a normal\n\tor bare repository or fail is 'path' is neither.\n\n @param repository pointer to the repo which will be opened\n @param path the path to the repository\n @return 0 on success; error code otherwise\n\n","lineto":64,"description":"Open a git repository."},"git_tag_id":{"return":{"type":"const git_oid *","comment":"object identity for the tag."},"group":"tag","file":"tag.h","sig":"git_tag *","comments":"","argline":"git_tag *tag","line":73,"args":[{"type":"git_tag *","comment":"a previously loaded tag.","name":"tag"}],"rawComments":"\n Get the id of a tag.\n @param tag a previously loaded tag.\n @return object identity for the tag.\n\n","lineto":78,"description":"Get the id of a tag."},"git_blob_rawsize":{"return":{"type":"int","comment":"size on bytes"},"group":"blob","file":"blob.h","sig":"git_blob *","comments":"","argline":"git_blob *blob","line":107,"args":[{"type":"git_blob *","comment":"pointer to the blob","name":"blob"}],"rawComments":"\n Get the size in bytes of the contents of a blob\n\n @param blob pointer to the blob\n @return size on bytes\n\n","lineto":113,"description":"Get the size in bytes of the contents of a blob"},"git_commit_committer":{"return":{"type":"const git_signature *","comment":"the committer of a commit"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":109,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the committer of a commit.\n @param commit a previously loaded commit.\n @return the committer of a commit\n\n","lineto":114,"description":"Get the committer of a commit."},"git_tree_clear_entries":{"return":{"type":"void","comment":""},"group":"tree","file":"tree.h","sig":"git_tree *","comments":"This will mark the tree as modified; the modified entry will\n be written back to disk on the next git_object_write().","argline":"git_tree *tree","line":207,"args":[{"type":"git_tree *","comment":"Tree object whose entries are to be sorted","name":"tree"}],"rawComments":"\n Clear all the entries in a tree.\n\n This will mark the tree as modified; the modified entry will\n be written back to disk on the next git_object_write().\n\n @param tree Tree object whose entries are to be sorted\n\n","lineto":215,"description":"Clear all the entries in a tree."},"git_blob_set_rawcontent":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"blob","file":"blob.h","sig":"git_blob *::const void *::size_t","comments":"","argline":"git_blob *blob, const void *buffer, size_t len","line":83,"args":[{"type":"git_blob *","comment":"pointer to the blob","name":"blob"},{"type":"const void *","comment":"buffer with the contents for the blob","name":"buffer"},{"type":"size_t","comment":"size of the buffer","name":"len"}],"rawComments":"\n Fill a blob with the contents inside\n the pointed buffer\n\n @param blob pointer to the blob\n @param buffer buffer with the contents for the blob\n @param len size of the buffer\n @return 0 on success; error code otherwise\n\n","lineto":92,"description":"Fill a blob with the contents inside the pointed buffer"},"GIT_EXTERN":{"return":{"type":"struct git_odb_backend ;","comment":""},"group":"GIT","file":"odb_backend.h","sig":"int) git_odb_backend_pack(git_odb_backend **::const char *","comments":"","argline":"int) git_odb_backend_pack(git_odb_backend **backend_out, const char *objects_dir","line":41,"args":[{"type":"int) git_odb_backend_pack(git_odb_backend **","comment":"","name":"backend_out"},{"type":"const char *","comment":"","name":"objects_dir"}],"rawComments":" An instance for a custom backend ","lineto":69,"description":"An instance for a custom backend"},"git_commit_time_offset":{"return":{"type":"int","comment":"positive or negative timezone offset, in minutes from UTC"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":102,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the commit timezone offset (i.e. committer's preferred timezone) of a commit.\n @param commit a previously loaded commit.\n @return positive or negative timezone offset, in minutes from UTC\n\n","lineto":107,"description":"Get the commit timezone offset (i.e. committer's preferred timezone) of a commit."},"git_reference_oid":{"return":{"type":"const git_oid *","comment":"a pointer to the oid if available, NULL otherwise"},"group":"reference","file":"refs.h","sig":"git_reference *","comments":"Only available if the reference is direct (i.e. not symbolic)","argline":"git_reference *ref","line":54,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Get the OID pointed to by a reference.\n\n Only available if the reference is direct (i.e. not symbolic)\n\n @param ref The reference\n @return a pointer to the oid if available, NULL otherwise\n\n","lineto":62,"description":"Get the OID pointed to by a reference."},"git_repository_lookup_ref":{"return":{"type":"int","comment":"a reference to the reference"},"group":"repository","file":"repository.h","sig":"git_reference **::git_repository *::const char *","comments":"The generated reference is owned by the repository and\n should not be freed by the user.\n\n TODO:\n\t- Ensure the reference name is valid","argline":"git_reference **reference_out, git_repository *repo, const char *name","line":221,"args":[{"type":"git_reference **","comment":"pointer to the looked-up reference","name":"reference_out"},{"type":"git_repository *","comment":"the repository to look up the reference","name":"repo"},{"type":"const char *","comment":"the long name for the reference (e.g. HEAD, ref/heads/master, refs/tags/v0.1.0, ...)","name":"name"}],"rawComments":"\n Lookup a reference by its name in the repository.\n\n The generated reference is owned by the repository and\n should not be freed by the user.\n\n TODO:\n\t- Ensure the reference name is valid\n\n @param reference_out pointer to the looked-up reference\n @param repo the repository to look up the reference\n @param name the long name for the reference (e.g. HEAD, ref/heads/master, refs/tags/v0.1.0, ...)\n @return a reference to the reference\n\n","lineto":235,"description":"Lookup a reference by its name in the repository."},"git_revwalk_push":{"return":{"type":"int","comment":""},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk *::git_commit *","comments":"@param walker the walker being used for the traversal.","argline":"git_revwalk *walk, git_commit *commit","line":84,"args":[{"type":"git_revwalk *","comment":"","name":"walk"},{"type":"git_commit *","comment":"the commit to start from.","name":"commit"}],"rawComments":"\n Mark a commit to start traversal from.\n The commit object must belong to the repo which is being walked through.\n\n @param walker the walker being used for the traversal.\n @param commit the commit to start from.\n\n","lineto":91,"description":"Mark a commit to start traversal from. The commit object must belong to the repo which is being walked through."},"git_oid_mkstr":{"return":{"type":"int","comment":"GIT_SUCCESS if valid; GIT_ENOTOID on failure."},"group":"oid","file":"oid.h","sig":"git_oid *::const char *","comments":"","argline":"git_oid *out, const char *str","line":52,"args":[{"type":"git_oid *","comment":"oid structure the result is written into.","name":"out"},{"type":"const char *","comment":"input hex string; must be pointing at the start of the hex sequence and have at least the number of bytes needed for an oid encoded in hex (40 bytes).","name":"str"}],"rawComments":"\n Parse a hex formatted object id into a git_oid.\n @param out oid structure the result is written into.\n @param str input hex string; must be pointing at the start of\n the hex sequence and have at least the number of bytes\n needed for an oid encoded in hex (40 bytes).\n @return GIT_SUCCESS if valid; GIT_ENOTOID on failure.\n\n","lineto":60,"description":"Parse a hex formatted object id into a git_oid."},"git_oid_to_string":{"return":{"type":"char *","comment":"the out buffer pointer, assuming no input parameter errors, otherwise a pointer to an empty string."},"group":"oid","file":"oid.h","sig":"char *::size_t::const git_oid *","comments":"","argline":"char *out, size_t n, const git_oid *oid","line":103,"args":[{"type":"char *","comment":"the buffer into which the oid string is output.","name":"out"},{"type":"size_t","comment":"the size of the out buffer.","name":"n"},{"type":"const git_oid *","comment":"the oid structure to format.","name":"oid"}],"rawComments":"\n Format a git_oid into a buffer as a hex format c-string.\n <p>\n If the buffer is smaller than GIT_OID_HEXSZ+1, then the resulting\n oid c-string will be truncated to n-1 characters. If there are\n any input parameter errors (out == NULL, n == 0, oid == NULL),\n then a pointer to an empty string is returned, so that the return\n value can always be printed.\n\n @param out the buffer into which the oid string is output.\n @param n the size of the out buffer.\n @param oid the oid structure to format.\n @return the out buffer pointer, assuming no input parameter\n errors, otherwise a pointer to an empty string.\n\n","lineto":118,"description":"Format a git_oid into a buffer as a hex format c-string. <p> If the buffer is smaller than GIT_OID_HEXSZ+1, then the resulting oid c-string will be truncated to n-1 characters. If there are any input parameter errors (out == NULL, n == 0, oid == NULL), then a pointer to an empty string is returned, so that the return value can always be printed."},"git_oid_cmp":{"return":{"type":"int","comment":"<0, 0, >0 if a < b, a == b, a > b."},"group":"oid","file":"oid.h","sig":"const git_oid *::const git_oid *","comments":"","argline":"const git_oid *a, const git_oid *b","line":127,"args":[{"type":"const git_oid *","comment":"first oid structure.","name":"a"},{"type":"const git_oid *","comment":"second oid structure.","name":"b"}],"rawComments":"\n Compare two oid structures.\n @param a first oid structure.\n @param b second oid structure.\n @return <0, 0, >0 if a < b, a == b, a > b.\n\n","lineto":133,"description":"Compare two oid structures."},"git_commit_tree":{"return":{"type":"const git_tree *","comment":"the tree of a commit"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":123,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the tree pointed to by a commit.\n @param commit a previously loaded commit.\n @return the tree of a commit\n\n","lineto":128,"description":"Get the tree pointed to by a commit."},"git_index_write":{"return":{"type":"int","comment":"0 on success, otherwise an error code"},"group":"index","file":"index.h","sig":"git_index *","comments":"","argline":"git_index *index","line":124,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"}],"rawComments":"\n Write an existing index object from memory back to disk\n using an atomic file lock.\n\n @param index an existing index object\n @return 0 on success, otherwise an error code\n\n","lineto":131,"description":"Write an existing index object from memory back to disk using an atomic file lock."},"git_oid_fmt":{"return":{"type":"void","comment":""},"group":"oid","file":"oid.h","sig":"char *::const git_oid *","comments":"","argline":"char *str, const git_oid *oid","line":69,"args":[{"type":"char *","comment":"output hex string; must be pointing at the start of the hex sequence and have at least the number of bytes needed for an oid encoded in hex (40 bytes). Only the oid digits are written; a '\\\\0' terminator must be added by the caller if it is required.","name":"str"},{"type":"const git_oid *","comment":"oid structure to format.","name":"oid"}],"rawComments":"\n Format a git_oid into a hex string.\n @param str output hex string; must be pointing at the start of\n the hex sequence and have at least the number of bytes\n needed for an oid encoded in hex (40 bytes). Only the\n oid digits are written; a '\\\\0' terminator must be added\n by the caller if it is required.\n @param oid oid structure to format.\n\n","lineto":78,"description":"Format a git_oid into a hex string."},"git_tree_entry_set_id":{"return":{"type":"void","comment":""},"group":"tree","file":"tree.h","sig":"git_tree_entry *::const git_oid *","comments":"This will mark the tree that contains the entry as modified;\n the modified entry will be written back to disk on the next git_object_write()","argline":"git_tree_entry *entry, const git_oid *oid","line":217,"args":[{"type":"git_tree_entry *","comment":"Entry object which will be modified","name":"entry"},{"type":"const git_oid *","comment":"new SHA1 oid for the entry","name":"oid"}],"rawComments":"\n Change the SHA1 id of a tree entry.\n\n This will mark the tree that contains the entry as modified;\n the modified entry will be written back to disk on the next git_object_write()\n\n @param entry Entry object which will be modified\n @param oid new SHA1 oid for the entry\n\n","lineto":226,"description":"Change the SHA1 id of a tree entry."},"git_object_type":{"return":{"type":"git_otype","comment":"the object's type"},"group":"object","file":"object.h","sig":"git_object *","comments":"","argline":"git_object *obj","line":71,"args":[{"type":"git_object *","comment":"the repository object","name":"obj"}],"rawComments":"\n Get the object type of an object\n\n @param obj the repository object\n @return the object's type\n\n","lineto":77,"description":"Get the object type of an object"},"git_odb_read":{"return":{"type":"int","comment":""},"group":"odb","file":"odb.h","sig":"git_rawobj *::git_odb *::const git_oid *","comments":"If GIT_ENOTFOUND then out->data is set to NULL.\n\n @return\n - GIT_SUCCESS if the object was read;\n - GIT_ENOTFOUND if the object is not in the database.","argline":"git_rawobj *out, git_odb *db, const git_oid *id","line":97,"args":[{"type":"git_rawobj *","comment":"object descriptor to populate upon reading.","name":"out"},{"type":"git_odb *","comment":"database to search for the object in.","name":"db"},{"type":"const git_oid *","comment":"identity of the object to read.","name":"id"}],"rawComments":"\n Read an object from the database.\n\n If GIT_ENOTFOUND then out->data is set to NULL.\n\n @param out object descriptor to populate upon reading.\n @param db database to search for the object in.\n @param id identity of the object to read.\n @return\n - GIT_SUCCESS if the object was read;\n - GIT_ENOTFOUND if the object is not in the database.\n\n","lineto":109,"description":"Read an object from the database."},"git_index_get":{"return":{"type":"git_index_entry *","comment":"a pointer to the entry; NULL if out of bounds"},"group":"index","file":"index.h","sig":"git_index *::int","comments":"This entry can be modified, and the changes will be written\n back to disk on the next write() call.","argline":"git_index *index, int n","line":175,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"},{"type":"int","comment":"the position of the entry","name":"n"}],"rawComments":"\n Get a pointer to one of the entries in the index\n\n This entry can be modified, and the changes will be written\n back to disk on the next write() call.\n\n @param index an existing index object\n @param n the position of the entry\n @return a pointer to the entry; NULL if out of bounds\n\n","lineto":185,"description":"Get a pointer to one of the entries in the index"},"git_commit_set_message":{"return":{"type":"void","comment":""},"group":"commit","file":"commit.h","sig":"git_commit *::const char *","comments":"","argline":"git_commit *commit, const char *message","line":154,"args":[{"type":"git_commit *","comment":"the commit object","name":"commit"},{"type":"const char *","comment":"the new message","name":"message"}],"rawComments":"\n Set the message of a commit\n @param commit the commit object\n @param message the new message\n\n","lineto":159,"description":"Set the message of a commit"},"git_tag_set_target":{"return":{"type":"void","comment":""},"group":"tag","file":"tag.h","sig":"git_tag *::git_object *","comments":"","argline":"git_tag *tag, git_object *target","line":115,"args":[{"type":"git_tag *","comment":"The tag to modify","name":"tag"},{"type":"git_object *","comment":"the new tagged target","name":"target"}],"rawComments":"\n Set the target of a tag (i.e. the object that the tag points to)\n @param tag The tag to modify\n @param target the new tagged target\n\n","lineto":120,"description":"Set the target of a tag (i.e. the object that the tag points to)"},"git_commit_add_parent":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"commit","file":"commit.h","sig":"git_commit *::git_commit *","comments":"","argline":"git_commit *commit, git_commit *new_parent","line":146,"args":[{"type":"git_commit *","comment":"the commit object","name":"commit"},{"type":"git_commit *","comment":"the new commit which will be a parent","name":"new_parent"}],"rawComments":"\n Add a new parent commit to an existing commit\n @param commit the commit object\n @param new_parent the new commit which will be a parent\n @return 0 on success; error code otherwise\n\n","lineto":152,"description":"Add a new parent commit to an existing commit"},"git_tree_entry_attributes":{"return":{"type":"unsigned int","comment":"attributes as an integer"},"group":"tree","file":"tree.h","sig":"git_tree_entry *","comments":"","argline":"git_tree_entry *entry","line":104,"args":[{"type":"git_tree_entry *","comment":"a tree entry","name":"entry"}],"rawComments":"\n Get the UNIX file attributes of a tree entry\n @param entry a tree entry\n @return attributes as an integer\n\n","lineto":109,"description":"Get the UNIX file attributes of a tree entry"},"git_rawobj_hash":{"return":{"type":"int","comment":""},"group":"rawobj","file":"odb.h","sig":"git_oid *::git_rawobj *","comments":"The input obj must be a valid loose object type and the data\n pointer must not be NULL, unless the len field is also zero.\n\n @return\n - GIT_SUCCESS if the object-ID was correctly determined.\n - GIT_ERROR if the given object is malformed.","argline":"git_oid *id, git_rawobj *obj","line":157,"args":[{"type":"git_oid *","comment":"the resulting object-ID.","name":"id"},{"type":"git_rawobj *","comment":"the object whose hash is to be determined.","name":"obj"}],"rawComments":"\n Determine the object-ID (sha1 hash) of the given git_rawobj.\n\n The input obj must be a valid loose object type and the data\n pointer must not be NULL, unless the len field is also zero.\n\n @param id the resulting object-ID.\n @param obj the object whose hash is to be determined.\n @return\n - GIT_SUCCESS if the object-ID was correctly determined.\n - GIT_ERROR if the given object is malformed.\n\n","lineto":169,"description":"Determine the object-ID (sha1 hash) of the given git_rawobj."},"git_index_add":{"return":{"type":"int","comment":"0 on success, otherwise an error code"},"group":"index","file":"index.h","sig":"git_index *::const char *::int","comments":"","argline":"git_index *index, const char *path, int stage","line":143,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"},{"type":"const char *","comment":"filename to add","name":"path"},{"type":"int","comment":"stage for the entry","name":"stage"}],"rawComments":"\n Add or update an index entry from a file in disk.\n\n @param index an existing index object\n @param path filename to add\n @param stage stage for the entry\n @return 0 on success, otherwise an error code\n\n","lineto":151,"description":"Add or update an index entry from a file in disk."},"deflateBound":{"return":{"type":"size_t","comment":"maximum length of the compressed data."},"group":"zlib","file":"zlib.h","sig":"z_streamp::size_t","comments":"This is a stub function used when zlib does not supply the\n deflateBound() implementation itself.","argline":"z_streamp stream, size_t s","line":40,"args":[{"type":"z_streamp","comment":"the stream pointer.","name":"stream"},{"type":"size_t","comment":"total length of the source data (in bytes).","name":"s"}],"rawComments":"\n deflateBound returns an upper bound on the compressed size.\n\n This is a stub function used when zlib does not supply the\n deflateBound() implementation itself.\n\n @param stream the stream pointer.\n @param s total length of the source data (in bytes).\n @return maximum length of the compressed data.\n\n","lineto":53,"description":"deflateBound returns an upper bound on the compressed size."},"git_reference_set_oid":{"return":{"type":"void","comment":""},"group":"reference","file":"refs.h","sig":"git_reference *::const git_oid *","comments":"This converts the reference into a direct\n reference.\n\n This marks the reference as modified; changes\n won't take effect until it is manually written back\n to disk.\n\n @param target The new target OID for the reference","argline":"git_reference *ref, const git_oid *id","line":158,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"},{"type":"const git_oid *","comment":"","name":"id"}],"rawComments":"\n Set the OID target of a reference.\n\n This converts the reference into a direct\n reference.\n\n This marks the reference as modified; changes\n won't take effect until it is manually written back\n to disk.\n\n @param ref The reference\n @param target The new target OID for the reference\n\n","lineto":171,"description":"Set the OID target of a reference."},"git_tag_tagger":{"return":{"type":"const git_signature *","comment":"reference to the tag's author"},"group":"tag","file":"tag.h","sig":"git_tag *","comments":"","argline":"git_tag *t","line":101,"args":[{"type":"git_tag *","comment":"","name":"t"}],"rawComments":"\n Get the tagger (author) of a tag\n @param tag a previously loaded tag.\n @return reference to the tag's author\n\n","lineto":106,"description":"Get the tagger (author) of a tag @param tag a previously loaded tag."},"git_commit_set_tree":{"return":{"type":"void","comment":""},"group":"commit","file":"commit.h","sig":"git_commit *::git_tree *","comments":"","argline":"git_commit *commit, git_tree *tree","line":175,"args":[{"type":"git_commit *","comment":"the commit object","name":"commit"},{"type":"git_tree *","comment":"the new tree","name":"tree"}],"rawComments":"\n Set the tree which is pointed to by a commit\n @param commit the commit object\n @param tree the new tree\n\n","lineto":180,"description":"Set the tree which is pointed to by a commit"},"git_tag_target":{"return":{"type":"const git_object *","comment":"reference to a repository object"},"group":"tag","file":"tag.h","sig":"git_tag *","comments":"","argline":"git_tag *t","line":80,"args":[{"type":"git_tag *","comment":"","name":"t"}],"rawComments":"\n Get the tagged object of a tag\n @param tag a previously loaded tag.\n @return reference to a repository object\n\n","lineto":85,"description":"Get the tagged object of a tag @param tag a previously loaded tag."},"git_oid_pathfmt":{"return":{"type":"void","comment":""},"group":"oid","file":"oid.h","sig":"char *::const git_oid *","comments":"","argline":"char *str, const git_oid *oid","line":80,"args":[{"type":"char *","comment":"output hex string; must be pointing at the start of the hex sequence and have at least the number of bytes needed for an oid encoded in hex (41 bytes). Only the oid digits are written; a '\\\\0' terminator must be added by the caller if it is required.","name":"str"},{"type":"const git_oid *","comment":"oid structure to format.","name":"oid"}],"rawComments":"\n Format a git_oid into a loose-object path string.\n <p>\n The resulting string is \"aa/...\", where \"aa\" is the first two\n hex digitis of the oid and \"...\" is the remaining 38 digits.\n\n @param str output hex string; must be pointing at the start of\n the hex sequence and have at least the number of bytes\n needed for an oid encoded in hex (41 bytes). Only the\n oid digits are written; a '\\\\0' terminator must be added\n by the caller if it is required.\n @param oid oid structure to format.\n\n","lineto":93,"description":"Format a git_oid into a loose-object path string. <p> The resulting string is \"aa/...\", where \"aa\" is the first two hex digitis of the oid and \"...\" is the remaining 38 digits."},"git_oid_allocfmt":{"return":{"type":"char *","comment":"the c-string; NULL if memory is exhausted. Caller must deallocate the string with free()."},"group":"oid","file":"oid.h","sig":"const git_oid *","comments":"","argline":"const git_oid *oid","line":95,"args":[{"type":"const git_oid *","comment":"the oid structure to format","name":"oid"}],"rawComments":"\n Format a gid_oid into a newly allocated c-string.\n @param oid the oid structure to format\n @return the c-string; NULL if memory is exhausted. Caller must\n deallocate the string with free().\n\n","lineto":101,"description":"Format a gid_oid into a newly allocated c-string."},"git_tag_new":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"tag","file":"tag.h","sig":"git_tag **::git_repository *","comments":"The tag object must be manually filled using\n setter methods before it can be written to its\n repository.","argline":"git_tag **tag, git_repository *repo","line":57,"args":[{"type":"git_tag **","comment":"pointer to the new tag","name":"tag"},{"type":"git_repository *","comment":"The repository where the object will reside","name":"repo"}],"rawComments":"\n Create a new in-memory git_tag.\n\n The tag object must be manually filled using\n setter methods before it can be written to its\n repository.\n\n @param tag pointer to the new tag\n @param repo The repository where the object will reside\n @return 0 on success; error code otherwise\n\n","lineto":71,"description":"Create a new in-memory git_tag."},"git_reference_resolve":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"reference","file":"refs.h","sig":"git_reference **::git_reference *","comments":"Thie method iteratively peels a symbolic reference\n until it resolves to a direct reference to an OID.\n\n If a direct reference is passed as an argument,\n that reference is returned immediately","argline":"git_reference **resolved_ref, git_reference *ref","line":92,"args":[{"type":"git_reference **","comment":"Pointer to the peeled reference","name":"resolved_ref"},{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Resolve a symbolic reference\n\n Thie method iteratively peels a symbolic reference\n until it resolves to a direct reference to an OID.\n\n If a direct reference is passed as an argument,\n that reference is returned immediately\n\n @param resolved_ref Pointer to the peeled reference\n @param ref The reference\n @return 0 on success; error code otherwise\n\n","lineto":105,"description":"Resolve a symbolic reference"},"__attribute__":{"return":{"type":"","comment":""},"file":"common.h","sig":"","comments":"","argline":"(visibility(\"default\"))","line":52,"args":[{"type":"","comment":"","name":"(visibility(\"default\"))"}],"rawComments":" Declare a public TLS symbol exported for application use. ","lineto":57,"description":"Declare a public TLS symbol exported for application use."},"git_odb_new":{"return":{"type":"int","comment":"GIT_SUCCESS if the database was created; otherwise an error code describing why the open was not possible."},"group":"odb","file":"odb.h","sig":"git_odb **","comments":"Before the ODB can be used for read/writing, a custom database\n backend must be manually added using `git_odb_add_backend()`","argline":"git_odb **out","line":41,"args":[{"type":"git_odb **","comment":"location to store the database pointer, if opened. Set to NULL if the open failed.","name":"out"}],"rawComments":"\n Create a new object database with no backends.\n\n Before the ODB can be used for read/writing, a custom database\n backend must be manually added using `git_odb_add_backend()`\n\n @param out location to store the database pointer, if opened.\n Set to NULL if the open failed.\n @return GIT_SUCCESS if the database was created; otherwise an error\n code describing why the open was not possible.\n\n","lineto":52,"description":"Create a new object database with no backends."},"git_tag_set_message":{"return":{"type":"void","comment":""},"group":"tag","file":"tag.h","sig":"git_tag *::const char *","comments":"","argline":"git_tag *tag, const char *message","line":136,"args":[{"type":"git_tag *","comment":"The tag to modify","name":"tag"},{"type":"const char *","comment":"the new tagger for the tag","name":"message"}],"rawComments":"\n Set the message of a tag\n @param tag The tag to modify\n @param message the new tagger for the tag\n\n","lineto":141,"description":"Set the message of a tag"},"git_commit_parent":{"return":{"type":"git_commit *","comment":"a pointer to the commit; NULL if out of bounds"},"group":"commit","file":"commit.h","sig":"git_commit *::unsigned int","comments":"","argline":"git_commit *commit, unsigned int n","line":138,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"},{"type":"unsigned int","comment":"the position of the entry","name":"n"}],"rawComments":"\n Get the specified parent of the commit.\n @param commit a previously loaded commit.\n @param n the position of the entry\n @return a pointer to the commit; NULL if out of bounds\n\n","lineto":144,"description":"Get the specified parent of the commit."},"git_commit_time":{"return":{"type":"time_t","comment":"the time of a commit"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":95,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the commit time (i.e. committer time) of a commit.\n @param commit a previously loaded commit.\n @return the time of a commit\n\n","lineto":100,"description":"Get the commit time (i.e. committer time) of a commit."},"git_revwalk_repository":{"return":{"type":"git_repository *","comment":"the repository being walked"},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk *","comments":"","argline":"git_revwalk *walk","line":125,"args":[{"type":"git_revwalk *","comment":"the revision walker","name":"walk"}],"rawComments":"\n Return the repository on which this walker\n is operating.\n\n @param walk the revision walker\n @return the repository being walked\n\n","lineto":132,"description":"Return the repository on which this walker is operating."},"git_commit_message_short":{"return":{"type":"const char *","comment":"the short message of a commit"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":81,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the short (one line) message of a commit.\n @param commit a previously loaded commit.\n @return the short message of a commit\n\n","lineto":86,"description":"Get the short (one line) message of a commit."},"git_commit_id":{"return":{"type":"const git_oid *","comment":"object identity for the commit."},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":74,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the id of a commit.\n @param commit a previously loaded commit.\n @return object identity for the commit.\n\n","lineto":79,"description":"Get the id of a commit."},"git_odb_add_backend":{"return":{"type":"int","comment":"0 on sucess; error code otherwise"},"group":"odb","file":"odb.h","sig":"git_odb *::git_odb_backend *","comments":"Read <odb_backends.h> for more information.\n\n @paramm backend pointer to a git_odb_backend instance","argline":"git_odb *odb, git_odb_backend *backend","line":73,"args":[{"type":"git_odb *","comment":"database to add the backend to","name":"odb"},{"type":"git_odb_backend *","comment":"","name":"backend"}],"rawComments":"\n Add a custom backend to an existing Object DB\n\n Read <odb_backends.h> for more information.\n\n @param odb database to add the backend to\n @paramm backend pointer to a git_odb_backend instance\n @return 0 on sucess; error code otherwise\n\n","lineto":82,"description":"Add a custom backend to an existing Object DB"},"git_tree_add_entry":{"return":{"type":"int","comment":"0 on success; otherwise error code"},"group":"tree","file":"tree.h","sig":"git_tree_entry **::git_tree *::const git_oid *::const char *::int","comments":"This will mark the tree as modified; the new entry will\n be written back to disk on the next git_object_write()\n\n @iparam id OID for the tree entry","argline":"git_tree_entry **entry_out, git_tree *tree, const git_oid *id, const char *filename, int attributes","line":134,"args":[{"type":"git_tree_entry **","comment":"Pointer to the entry that just got created. May be NULL if you are not interested on getting the new entry","name":"entry_out"},{"type":"git_tree *","comment":"Tree object to store the entry","name":"tree"},{"type":"const git_oid *","comment":"","name":"id"},{"type":"const char *","comment":"Filename for the tree entry","name":"filename"},{"type":"int","comment":"UNIX file attributes for the entry","name":"attributes"}],"rawComments":"\n Add a new entry to a tree and return the new entry.\n\n This will mark the tree as modified; the new entry will\n be written back to disk on the next git_object_write()\n\n @param entry_out Pointer to the entry that just got\n\tcreated. May be NULL if you are not interested on\n\tgetting the new entry\n @param tree Tree object to store the entry\n @iparam id OID for the tree entry\n @param filename Filename for the tree entry\n @param attributes UNIX file attributes for the entry\n @return 0 on success; otherwise error code\n\n","lineto":149,"description":"Add a new entry to a tree and return the new entry."},"git_odb_write":{"return":{"type":"int","comment":""},"group":"odb","file":"odb.h","sig":"git_oid *::git_odb *::git_rawobj *","comments":"@return\n - GIT_SUCCESS if the object was written;\n - GIT_ERROR otherwise.","argline":"git_oid *id, git_odb *db, git_rawobj *obj","line":130,"args":[{"type":"git_oid *","comment":"identity of the object written.","name":"id"},{"type":"git_odb *","comment":"database to which the object should be written.","name":"db"},{"type":"git_rawobj *","comment":"object descriptor for the object to write.","name":"obj"}],"rawComments":"\n Write an object to the database.\n\n @param id identity of the object written.\n @param db database to which the object should be written.\n @param obj object descriptor for the object to write.\n @return\n - GIT_SUCCESS if the object was written;\n - GIT_ERROR otherwise.\n\n","lineto":140,"description":"Write an object to the database."},"git_revwalk_reset":{"return":{"type":"void","comment":""},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk *","comments":"","argline":"git_revwalk *walker","line":78,"args":[{"type":"git_revwalk *","comment":"handle to reset.","name":"walker"}],"rawComments":"\n Reset the walking machinery for reuse.\n @param walker handle to reset.\n\n","lineto":82,"description":"Reset the walking machinery for reuse."},"git_index_entrycount":{"return":{"type":"unsigned int","comment":"integer of count of current entries"},"group":"index","file":"index.h","sig":"git_index *","comments":"","argline":"git_index *index","line":187,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"}],"rawComments":"\n Get the count of entries currently in the index\n\n @param index an existing index object\n @return integer of count of current entries\n\n","lineto":193,"description":"Get the count of entries currently in the index"},"git_blob_writefile":{"return":{"type":"int","comment":""},"group":"blob","file":"blob.h","sig":"git_oid *::git_repository *::const char *","comments":"","argline":"git_oid *written_id, git_repository *repo, const char *path","line":115,"args":[{"type":"git_oid *","comment":"return the id of the written blob","name":"written_id"},{"type":"git_repository *","comment":"repository where the blob will be written","name":"repo"},{"type":"const char *","comment":"file from which the blob will be created","name":"path"}],"rawComments":"\n Read a file from the working folder of a repository\n and write it to the Object Database as a loose blob,\n if such doesn't exist yet.\n\n @param written_id return the id of the written blob\n @param repo repository where the blob will be written\n @param path file from which the blob will be created\n\n","lineto":124,"description":"Read a file from the working folder of a repository and write it to the Object Database as a loose blob, if such doesn't exist yet."},"git_commit_parentcount":{"return":{"type":"unsigned int","comment":"integer of count of parents"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":130,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the number of parents of this commit\n\n @param commit a previously loaded commit.\n @return integer of count of parents\n\n","lineto":136,"description":"Get the number of parents of this commit"},"git_object_write":{"return":{"type":"int","comment":"0 on success; otherwise an error code"},"group":"object","file":"object.h","sig":"git_object *","comments":"The object will be written to its corresponding\n repository.\n\n If the object has no changes since it was first\n read from the repository, no actions will take place.\n\n If the object has been modified since it was read from\n the repository, or it has been created from scratch\n in memory, it will be written to the repository and\n its SHA1 ID will be updated accordingly.","argline":"git_object *object","line":41,"args":[{"type":"git_object *","comment":"Git object to write back","name":"object"}],"rawComments":"\n Write back an object to disk.\n\n The object will be written to its corresponding\n repository.\n\n If the object has no changes since it was first\n read from the repository, no actions will take place.\n\n If the object has been modified since it was read from\n the repository, or it has been created from scratch\n in memory, it will be written to the repository and\n its SHA1 ID will be updated accordingly.\n\n @param object Git object to write back\n @return 0 on success; otherwise an error code\n\n","lineto":58,"description":"Write back an object to disk."},"git_reference_name":{"return":{"type":"const char *","comment":"the full name for the ref"},"group":"reference","file":"refs.h","sig":"git_reference *","comments":"","argline":"git_reference *ref","line":84,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Get the full name of a reference\n\n @param ref The reference\n @return the full name for the ref\n\n","lineto":90,"description":"Get the full name of a reference"},"git_tree_entry_byindex":{"return":{"type":"git_tree_entry *","comment":"the tree entry; NULL if not found"},"group":"tree","file":"tree.h","sig":"git_tree *::int","comments":"","argline":"git_tree *tree, int idx","line":96,"args":[{"type":"git_tree *","comment":"a previously loaded tree.","name":"tree"},{"type":"int","comment":"the position in the entry list","name":"idx"}],"rawComments":"\n Lookup a tree entry by its position in the tree\n @param tree a previously loaded tree.\n @param idx the position in the entry list\n @return the tree entry; NULL if not found\n\n","lineto":102,"description":"Lookup a tree entry by its position in the tree"},"git_reference_target":{"return":{"type":"const char *","comment":"a pointer to the name if available, NULL otherwise"},"group":"reference","file":"refs.h","sig":"git_reference *","comments":"Only available if the reference is symbolic","argline":"git_reference *ref","line":64,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Get full name to the reference pointed by this reference\n\n Only available if the reference is symbolic\n\n @param ref The reference\n @return a pointer to the name if available, NULL otherwise\n\n","lineto":72,"description":"Get full name to the reference pointed by this reference"},"git_commit_set_author":{"return":{"type":"void","comment":""},"group":"commit","file":"commit.h","sig":"git_commit *::const git_signature *","comments":"","argline":"git_commit *commit, const git_signature *author_sig","line":168,"args":[{"type":"git_commit *","comment":"the commit object","name":"commit"},{"type":"const git_signature *","comment":"signature of the author","name":"author_sig"}],"rawComments":"\n Set the author of a commit\n @param commit the commit object\n @param author_sig signature of the author\n\n","lineto":173,"description":"Set the author of a commit"},"git_reference_new":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"reference","file":"refs.h","sig":"git_reference **::git_repository *","comments":"The reference will be empty and exclusively\n in-memory until it is filled with the setter\n methods and written back to disk using\n `git_reference_write`.","argline":"git_reference **ref_out, git_repository *repo","line":40,"args":[{"type":"git_reference **","comment":"Pointer to the newly created reference","name":"ref_out"},{"type":"git_repository *","comment":"Repository where that reference exists","name":"repo"}],"rawComments":"\n Create a new reference.\n\n The reference will be empty and exclusively\n in-memory until it is filled with the setter\n methods and written back to disk using\n `git_reference_write`.\n\n @param ref_out Pointer to the newly created reference\n @param repo Repository where that reference exists\n @return 0 on success; error code otherwise\n\n","lineto":52,"description":"Create a new reference."},"git_reference_set_name":{"return":{"type":"void","comment":""},"group":"reference","file":"refs.h","sig":"git_reference *::const char *","comments":"This marks the reference as modified; changes\n won't take effect until it is manually written back\n to disk.","argline":"git_reference *ref, const char *name","line":131,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"},{"type":"const char *","comment":"The new name for the reference","name":"name"}],"rawComments":"\n Set the name of a reference.\n\n This marks the reference as modified; changes\n won't take effect until it is manually written back\n to disk.\n\n @param ref The reference\n @param name The new name for the reference\n\n","lineto":141,"description":"Set the name of a reference."},"git_tag_type":{"return":{"type":"git_otype","comment":"type of the tagged object"},"group":"tag","file":"tag.h","sig":"git_tag *","comments":"","argline":"git_tag *t","line":87,"args":[{"type":"git_tag *","comment":"","name":"t"}],"rawComments":"\n Get the type of a tag's tagged object\n @param tag a previously loaded tag.\n @return type of the tagged object\n\n","lineto":92,"description":"Get the type of a tag's tagged object @param tag a previously loaded tag."},"git_index_insert":{"return":{"type":"int","comment":"0 on success, otherwise an error code"},"group":"index","file":"index.h","sig":"git_index *::const git_index_entry *","comments":"","argline":"git_index *index, const git_index_entry *source_entry","line":162,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"},{"type":"const git_index_entry *","comment":"new entry object","name":"source_entry"}],"rawComments":"\n Insert an entry into the index.\n A full copy (including the 'path' string) of the given\n 'source_entry' will be inserted on the index; if the index\n already contains an entry for the same path, the entry\n will be updated.\n\n @param index an existing index object\n @param source_entry new entry object\n @return 0 on success, otherwise an error code\n\n","lineto":173,"description":"Insert an entry into the index. A full copy (including the 'path' string) of the given 'source_entry' will be inserted on the index; if the index already contains an entry for the same path, the entry will be updated."},"git_index_remove":{"return":{"type":"int","comment":"0 on success, otherwise an error code"},"group":"index","file":"index.h","sig":"git_index *::int","comments":"","argline":"git_index *index, int position","line":153,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"},{"type":"int","comment":"position of the entry to remove","name":"position"}],"rawComments":"\n Remove an entry from the index\n\n @param index an existing index object\n @param position position of the entry to remove\n @return 0 on success, otherwise an error code\n\n","lineto":160,"description":"Remove an entry from the index"},"git_reference_write":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"reference","file":"refs.h","sig":"git_reference *","comments":"The reference must have a valid name and a valid target\n (either direct or symbolic).\n\n If the reference has been loaded from disk and no changes\n have been made, no action will take place.\n\n The writing to disk is atomic.","argline":"git_reference *ref","line":107,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Write a reference back to disk.\n\n The reference must have a valid name and a valid target\n (either direct or symbolic).\n\n If the reference has been loaded from disk and no changes\n have been made, no action will take place.\n\n The writing to disk is atomic.\n\n @param ref The reference\n @return 0 on success; error code otherwise\n\n","lineto":121,"description":"Write a reference back to disk."},"git_index_find":{"return":{"type":"int","comment":"an index >= 0 if found, -1 otherwise"},"group":"index","file":"index.h","sig":"git_index *::const char *","comments":"","argline":"git_index *index, const char *path","line":133,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"},{"type":"const char *","comment":"path to search","name":"path"}],"rawComments":"\n Find the first index of any entires which point to given\n path in the Git index.\n\n @param index an existing index object\n @param path path to search\n @return an index >= 0 if found, -1 otherwise\n\n","lineto":141,"description":"Find the first index of any entires which point to given path in the Git index."},"git_index_open_inrepo":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"index","file":"index.h","sig":"git_index **::git_repository *","comments":"@param index_path the path to the index file in disk","argline":"git_index **index, git_repository *repo","line":89,"args":[{"type":"git_index **","comment":"","name":"index"},{"type":"git_repository *","comment":"the git repo which owns the index","name":"repo"}],"rawComments":"\n Open the Index inside the git repository pointed\n by 'repo'.\n\n @param repo the git repo which owns the index\n @param index_path the path to the index file in disk\n @return 0 on success; error code otherwise\n\n","lineto":97,"description":"Open the Index inside the git repository pointed by 'repo'."},"git_commit_set_committer":{"return":{"type":"void","comment":""},"group":"commit","file":"commit.h","sig":"git_commit *::const git_signature *","comments":"","argline":"git_commit *commit, const git_signature *committer_sig","line":161,"args":[{"type":"git_commit *","comment":"the commit object","name":"commit"},{"type":"const git_signature *","comment":"","name":"committer_sig"}],"rawComments":"\n Set the committer of a commit\n @param commit the commit object\n @param author_sig signature of the committer\n\n","lineto":166,"description":"Set the committer of a commit @param author_sig signature of the committer"},"git_tag_name":{"return":{"type":"const char *","comment":"name of the tag"},"group":"tag","file":"tag.h","sig":"git_tag *","comments":"","argline":"git_tag *t","line":94,"args":[{"type":"git_tag *","comment":"","name":"t"}],"rawComments":"\n Get the name of a tag\n @param tag a previously loaded tag.\n @return name of the tag\n\n","lineto":99,"description":"Get the name of a tag @param tag a previously loaded tag."},"git_revwalk_free":{"return":{"type":"void","comment":""},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk *","comments":"","argline":"git_revwalk *walk","line":119,"args":[{"type":"git_revwalk *","comment":"traversal handle to close. If NULL nothing occurs.","name":"walk"}],"rawComments":"\n Free a revwalk previously allocated.\n @param walk traversal handle to close. If NULL nothing occurs.\n\n","lineto":123,"description":"Free a revwalk previously allocated."},"git_repository_free":{"return":{"type":"void","comment":""},"group":"repository","file":"repository.h","sig":"git_repository *","comments":"","argline":"git_repository *repo","line":198,"args":[{"type":"git_repository *","comment":"repository handle to close. If NULL nothing occurs.","name":"repo"}],"rawComments":"\n Free a previously allocated repository\n @param repo repository handle to close. If NULL nothing occurs.\n\n","lineto":202,"description":"Free a previously allocated repository"},"git_rawobj_close":{"return":{"type":"void","comment":""},"group":"rawobj","file":"odb.h","sig":"git_rawobj *","comments":"As a result of this call, obj->data will be set to NULL.\n\n If obj->data is already NULL, nothing happens.","argline":"git_rawobj *obj","line":171,"args":[{"type":"git_rawobj *","comment":"object descriptor to free.","name":"obj"}],"rawComments":"\n Release all memory used by the obj structure.\n\n As a result of this call, obj->data will be set to NULL.\n\n If obj->data is already NULL, nothing happens.\n\n @param obj object descriptor to free.\n\n","lineto":180,"description":"Release all memory used by the obj structure."},"git_tree_new":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"tree","file":"tree.h","sig":"git_tree **::git_repository *","comments":"The tree object must be manually filled using\n setter methods before it can be written to its\n repository.","argline":"git_tree **tree, git_repository *repo","line":57,"args":[{"type":"git_tree **","comment":"pointer to the new tree","name":"tree"},{"type":"git_repository *","comment":"The repository where the object will reside","name":"repo"}],"rawComments":"\n Create a new in-memory git_tree.\n\n The tree object must be manually filled using\n setter methods before it can be written to its\n repository.\n\n @param tree pointer to the new tree\n @param repo The repository where the object will reside\n @return 0 on success; error code otherwise\n\n","lineto":71,"description":"Create a new in-memory git_tree."},"git_object_typeisloose":{"return":{"type":"int","comment":"true if the type represents a valid loose object type, false otherwise."},"group":"object","file":"object.h","sig":"git_otype","comments":"","argline":"git_otype type","line":120,"args":[{"type":"git_otype","comment":"object type to test.","name":"type"}],"rawComments":"\n Determine if the given git_otype is a valid loose object type.\n\n @param type object type to test.\n @return true if the type represents a valid loose object type,\n false otherwise.\n\n","lineto":127,"description":"Determine if the given git_otype is a valid loose object type."},"git_strerror":{"return":{"type":"const char *","comment":"a string explaining the error code"},"group":"errors","file":"errors.h","sig":"int","comments":"","argline":"int num","line":36,"args":[{"type":"int","comment":"The error code to explain","name":"num"}],"rawComments":"\n strerror() for the Git library\n @param num The error code to explain\n @return a string explaining the error code\n\n","lineto":41,"description":"strerror() for the Git library"},"git_reference_set_target":{"return":{"type":"void","comment":""},"group":"reference","file":"refs.h","sig":"git_reference *::const char *","comments":"This converts the reference into a symbolic\n reference.\n\n This marks the reference as modified; changes\n won't take effect until it is manually written back\n to disk.","argline":"git_reference *ref, const char *target","line":143,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"},{"type":"const char *","comment":"The new target for the reference","name":"target"}],"rawComments":"\n Set the target reference of a reference.\n\n This converts the reference into a symbolic\n reference.\n\n This marks the reference as modified; changes\n won't take effect until it is manually written back\n to disk.\n\n @param ref The reference\n @param target The new target for the reference\n\n","lineto":156,"description":"Set the target reference of a reference."},"git_revwalk_new":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk **::git_repository *","comments":"","argline":"git_revwalk **walker, git_repository *repo","line":69,"args":[{"type":"git_revwalk **","comment":"pointer to the new revision walker","name":"walker"},{"type":"git_repository *","comment":"the repo to walk through","name":"repo"}],"rawComments":"\n Allocate a new revision walker to iterate through a repo.\n\n @param walker pointer to the new revision walker\n @param repo the repo to walk through\n @return 0 on success; error code otherwise\n\n","lineto":76,"description":"Allocate a new revision walker to iterate through a repo."},"git_revwalk_next":{"return":{"type":"int","comment":"GIT_SUCCESS if the next commit was found; GIT_EREVWALKOVER if there are no commits left to iterate"},"group":"revwalk","file":"revwalk.h","sig":"git_commit **::git_revwalk *","comments":"","argline":"git_commit **commit, git_revwalk *walk","line":100,"args":[{"type":"git_commit **","comment":"Pointer where to store the next commit","name":"commit"},{"type":"git_revwalk *","comment":"the walker to pop the commit from.","name":"walk"}],"rawComments":"\n Get the next commit from the revision traversal.\n\n @param commit Pointer where to store the next commit\n @param walk the walker to pop the commit from.\n @return GIT_SUCCESS if the next commit was found;\n\tGIT_EREVWALKOVER if there are no commits left to iterate\n\n","lineto":108,"description":"Get the next commit from the revision traversal."},"git_signature_free":{"return":{"type":"void","comment":""},"group":"signature","file":"signature.h","sig":"git_signature *","comments":"@sig signature to free","argline":"git_signature *sig","line":61,"args":[{"type":"git_signature *","comment":"","name":"sig"}],"rawComments":"\n Free an existing signature\n\n @sig signature to free\n\n","lineto":66,"description":"Free an existing signature"},"git_tree_sort_entries":{"return":{"type":"int","comment":"0 on success; otherwise error code"},"group":"tree","file":"tree.h","sig":"git_tree *","comments":"This does not mark the tree as modified. It is intended to be used\n after several invocations of git_tree_add_entry2.\n git_tree_add_entry, on the other hand, sorts after each entry is\n added.","argline":"git_tree *tree","line":168,"args":[{"type":"git_tree *","comment":"Tree object whose entries are to be sorted","name":"tree"}],"rawComments":"\n Sort the entries in a tree created using git_tree_add_entry2.\n\n This does not mark the tree as modified. It is intended to be used\n after several invocations of git_tree_add_entry2.\n git_tree_add_entry, on the other hand, sorts after each entry is\n added.\n\n @param tree Tree object whose entries are to be sorted\n @return 0 on success; otherwise error code\n\n","lineto":179,"description":"Sort the entries in a tree created using git_tree_add_entry2."},"git_repository_database":{"return":{"type":"git_odb *","comment":"a pointer to the object db"},"group":"repository","file":"repository.h","sig":"git_repository *","comments":"","argline":"git_repository *repo","line":155,"args":[{"type":"git_repository *","comment":"a repository object","name":"repo"}],"rawComments":"\n Get the object database behind a Git repository\n\n @param repo a repository object\n @return a pointer to the object db\n\n","lineto":161,"description":"Get the object database behind a Git repository"},"git_odb_exists":{"return":{"type":"int","comment":""},"group":"odb","file":"odb.h","sig":"git_odb *::const git_oid *","comments":"@return\n - true, if the object was found\n - false, otherwise","argline":"git_odb *db, const git_oid *id","line":142,"args":[{"type":"git_odb *","comment":"database to be searched for the given object.","name":"db"},{"type":"const git_oid *","comment":"the object to search for.","name":"id"}],"rawComments":"\n Determine if the given object can be found in the object database.\n\n @param db database to be searched for the given object.\n @param id the object to search for.\n @return\n - true, if the object was found\n - false, otherwise\n\n","lineto":151,"description":"Determine if the given object can be found in the object database."},"git_signature_new":{"return":{"type":"git_signature *","comment":"the new sig, NULl on out of memory"},"group":"signature","file":"signature.h","sig":"const char *::const char *::time_t::int","comments":"@name name of the person\n @email email of the person\n @time time when the action happened\n @offset timezone offset in minutes for the time","argline":"const char *name, const char *email, time_t time, int offset","line":40,"args":[{"type":"const char *","comment":"","name":"name"},{"type":"const char *","comment":"","name":"email"},{"type":"time_t","comment":"","name":"time"},{"type":"int","comment":"","name":"offset"}],"rawComments":"\n Create a new action signature. The signature must be freed\n manually or using git_signature_free\n\n @name name of the person\n @email email of the person\n @time time when the action happened\n @offset timezone offset in minutes for the time\n @return the new sig, NULl on out of memory\n\n","lineto":50,"description":"Create a new action signature. The signature must be freed manually or using git_signature_free"},"git_repository_init":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"repository","file":"repository.h","sig":"git_repository **::const char *::unsigned","comments":"TODO:\n\t- Reinit the repository\n\t- Create config files","argline":"git_repository **repo_out, const char *path, unsigned is_bare","line":204,"args":[{"type":"git_repository **","comment":"pointer to the repo which will be created or reinitialized","name":"repo_out"},{"type":"const char *","comment":"the path to the repository","name":"path"},{"type":"unsigned","comment":"if true, a Git repository without a working directory is created at the pointed path. If false, provided path will be considered as the working directory into which the .git directory will be created.","name":"is_bare"}],"rawComments":"\n Creates a new Git repository in the given folder.\n\n TODO:\n\t- Reinit the repository\n\t- Create config files\n\n @param repo_out pointer to the repo which will be created or reinitialized\n @param path the path to the repository\n @param is_bare if true, a Git repository without a working directory is created\n\t\tat the pointed path. If false, provided path will be considered as the working\n\t\tdirectory into which the .git directory will be created.\n\n @return 0 on success; error code otherwise\n\n","lineto":219,"description":"Creates a new Git repository in the given folder."},"git_tree_entrycount":{"return":{"type":"size_t","comment":"the number of entries in the tree"},"group":"tree","file":"tree.h","sig":"git_tree *","comments":"","argline":"git_tree *tree","line":81,"args":[{"type":"git_tree *","comment":"a previously loaded tree.","name":"tree"}],"rawComments":"\n Get the number of entries listed in a tree\n @param tree a previously loaded tree.\n @return the number of entries in the tree\n\n","lineto":86,"description":"Get the number of entries listed in a tree"},"git_odb_backend_sqlite":{"return":{"type":"int","comment":""},"group":"odb","file":"odb_backend.h","sig":"git_odb_backend **::const char *","comments":"","argline":"git_odb_backend **backend_out, const char *sqlite_db","line":73,"args":[{"type":"git_odb_backend **","comment":"","name":"backend_out"},{"type":"const char *","comment":"","name":"sqlite_db"}],"rawComments":"","lineto":73,"description":""},"git_odb_read_header":{"return":{"type":"int","comment":""},"group":"odb","file":"odb.h","sig":"git_rawobj *::git_odb *::const git_oid *","comments":"Only the 'type' and 'len' fields of the git_rawobj structure\n are filled. The 'data' pointer will always be NULL.\n\n The raw object pointed by 'out' doesn't need to be manually\n closed with git_rawobj_close().\n\n @return\n - GIT_SUCCESS if the object was read;\n - GIT_ENOTFOUND if the object is not in the database.","argline":"git_rawobj *out, git_odb *db, const git_oid *id","line":111,"args":[{"type":"git_rawobj *","comment":"object descriptor to populate upon reading.","name":"out"},{"type":"git_odb *","comment":"database to search for the object in.","name":"db"},{"type":"const git_oid *","comment":"identity of the object to read.","name":"id"}],"rawComments":"\n Read the header of an object from the database, without\n reading its full contents.\n\n Only the 'type' and 'len' fields of the git_rawobj structure\n are filled. The 'data' pointer will always be NULL.\n\n The raw object pointed by 'out' doesn't need to be manually\n closed with git_rawobj_close().\n\n @param out object descriptor to populate upon reading.\n @param db database to search for the object in.\n @param id identity of the object to read.\n @return\n - GIT_SUCCESS if the object was read;\n - GIT_ENOTFOUND if the object is not in the database.\n\n","lineto":128,"description":"Read the header of an object from the database, without reading its full contents."},"git_object_owner":{"return":{"type":"git_repository *","comment":"the repository who owns this object"},"group":"object","file":"object.h","sig":"git_object *","comments":"","argline":"git_object *obj","line":79,"args":[{"type":"git_object *","comment":"the object","name":"obj"}],"rawComments":"\n Get the repository that owns this object\n\n @param obj the object\n @return the repository who owns this object\n\n","lineto":85,"description":"Get the repository that owns this object"},"git_tree_entry_id":{"return":{"type":"const git_oid *","comment":"the oid of the object"},"group":"tree","file":"tree.h","sig":"git_tree_entry *","comments":"","argline":"git_tree_entry *entry","line":118,"args":[{"type":"git_tree_entry *","comment":"a tree entry","name":"entry"}],"rawComments":"\n Get the id of the object pointed by the entry\n @param entry a tree entry\n @return the oid of the object\n\n","lineto":123,"description":"Get the id of the object pointed by the entry"},"git_tag_lookup":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"tag","file":"tag.h","sig":"git_tag **::git_repository *::const git_oid *","comments":"","argline":"git_tag **tag, git_repository *repo, const git_oid *id","line":42,"args":[{"type":"git_tag **","comment":"pointer to the looked up tag","name":"tag"},{"type":"git_repository *","comment":"the repo to use when locating the tag.","name":"repo"},{"type":"const git_oid *","comment":"identity of the tag to locate.","name":"id"}],"rawComments":"\n Lookup a tag object from the repository.\n The generated tag object is owned by the revision\n repo and shall not be freed by the user.\n\n @param tag pointer to the looked up tag\n @param repo the repo to use when locating the tag.\n @param id identity of the tag to locate.\n @return 0 on success; error code otherwise\n\n","lineto":55,"description":"Lookup a tag object from the repository. The generated tag object is owned by the revision repo and shall not be freed by the user."},"git_commit_author":{"return":{"type":"const git_signature *","comment":"the author of a commit"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":116,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the author of a commit.\n @param commit a previously loaded commit.\n @return the author of a commit\n\n","lineto":121,"description":"Get the author of a commit."},"git_index_free":{"return":{"type":"void","comment":""},"group":"index","file":"index.h","sig":"git_index *","comments":"","argline":"git_index *index","line":108,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"}],"rawComments":"\n Free an existing index object.\n\n @param index an existing index object\n\n","lineto":113,"description":"Free an existing index object."},"git_repository_newobject":{"return":{"type":"int","comment":"the new object"},"group":"repository","file":"repository.h","sig":"git_object **::git_repository *::git_otype","comments":"The object's attributes can be filled in using the\n corresponding setter methods.\n\n The object will be written back to given git_repository\n when the git_object_write() function is called; objects\n cannot be written to disk until all their main\n attributes have been properly filled.\n\n Objects are instantiated with no SHA1 id; their id\n will be automatically generated when writing to the\n repository.\n\n @parem repo Repository where the object belongs","argline":"git_object **object, git_repository *repo, git_otype type","line":175,"args":[{"type":"git_object **","comment":"pointer to the new object","name":"object"},{"type":"git_repository *","comment":"","name":"repo"},{"type":"git_otype","comment":"Type of the object to be created","name":"type"}],"rawComments":"\n Create a new in-memory repository object with\n the given type.\n\n The object's attributes can be filled in using the\n corresponding setter methods.\n\n The object will be written back to given git_repository\n when the git_object_write() function is called; objects\n cannot be written to disk until all their main\n attributes have been properly filled.\n\n Objects are instantiated with no SHA1 id; their id\n will be automatically generated when writing to the\n repository.\n\n @param object pointer to the new object\n @parem repo Repository where the object belongs\n @param type Type of the object to be created\n @return the new object\n\n","lineto":196,"description":"Create a new in-memory repository object with the given type."},"git_blob_new":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"blob","file":"blob.h","sig":"git_blob **::git_repository *","comments":"The blob object must be manually filled using\n the 'set_rawcontent' methods before it can\n be written back to disk.","argline":"git_blob **blob, git_repository *repo","line":57,"args":[{"type":"git_blob **","comment":"pointer to the new blob","name":"blob"},{"type":"git_repository *","comment":"The repository where the object will reside","name":"repo"}],"rawComments":"\n Create a new in-memory git_blob.\n\n The blob object must be manually filled using\n the 'set_rawcontent' methods before it can\n be written back to disk.\n\n @param blob pointer to the new blob\n @param repo The repository where the object will reside\n @return 0 on success; error code otherwise\n\n","lineto":71,"description":"Create a new in-memory git_blob."},"git_tree_id":{"return":{"type":"const git_oid *","comment":"object identity for the tree."},"group":"tree","file":"tree.h","sig":"git_tree *","comments":"","argline":"git_tree *tree","line":73,"args":[{"type":"git_tree *","comment":"a previously loaded tree.","name":"tree"}],"rawComments":"\n Get the id of a tree.\n @param tree a previously loaded tree.\n @return object identity for the tree.\n\n","lineto":78,"description":"Get the id of a tree."},"git_reference_owner":{"return":{"type":"git_repository *","comment":"a pointer to the repo"},"group":"reference","file":"refs.h","sig":"git_reference *","comments":"","argline":"git_reference *ref","line":123,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Get the repository where a reference resides\n\n @param ref The reference\n @return a pointer to the repo\n\n","lineto":129,"description":"Get the repository where a reference resides"},"git_tag_set_name":{"return":{"type":"void","comment":""},"group":"tag","file":"tag.h","sig":"git_tag *::const char *","comments":"","argline":"git_tag *tag, const char *name","line":122,"args":[{"type":"git_tag *","comment":"The tag to modify","name":"tag"},{"type":"const char *","comment":"the new name for the tag","name":"name"}],"rawComments":"\n Set the name of a tag\n @param tag The tag to modify\n @param name the new name for the tag\n\n","lineto":127,"description":"Set the name of a tag"},"git_odb_open":{"return":{"type":"int","comment":"GIT_SUCCESS if the database opened; otherwise an error code describing why the open was not possible."},"group":"odb","file":"odb.h","sig":"git_odb **::const char *","comments":"- git_odb_backend_loose: read and write loose object files\n\t\tfrom disk, assuming `objects_dir` as the Objects folder\n\n\t- git_odb_backend_pack: read objects from packfiles,\n\t\tassuming `objects_dir` as the Objects folder which\n\t\tcontains a 'pack/' folder with the corresponding data","argline":"git_odb **out, const char *objects_dir","line":54,"args":[{"type":"git_odb **","comment":"location to store the database pointer, if opened. Set to NULL if the open failed.","name":"out"},{"type":"const char *","comment":"path of the backends' \"objects\" directory.","name":"objects_dir"}],"rawComments":"\n Create a new object database and automatically add\n the two default backends:\n\n\t- git_odb_backend_loose: read and write loose object files\n\t\tfrom disk, assuming `objects_dir` as the Objects folder\n\n\t- git_odb_backend_pack: read objects from packfiles,\n\t\tassuming `objects_dir` as the Objects folder which\n\t\tcontains a 'pack/' folder with the corresponding data\n\n @param out location to store the database pointer, if opened.\n Set to NULL if the open failed.\n @param objects_dir path of the backends' \"objects\" directory.\n @return GIT_SUCCESS if the database opened; otherwise an error\n code describing why the open was not possible.\n\n","lineto":71,"description":"Create a new object database and automatically add the two default backends:"},"git_reference_type":{"return":{"type":"git_rtype","comment":"the type"},"group":"reference","file":"refs.h","sig":"git_reference *","comments":"Either direct (GIT_REF_OID) or symbolic (GIT_REF_SYMBOLIC)","argline":"git_reference *ref","line":74,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Get the type of a reference\n\n Either direct (GIT_REF_OID) or symbolic (GIT_REF_SYMBOLIC)\n\n @param ref The reference\n @return the type\n\n","lineto":82,"description":"Get the type of a reference"},"git_odb_backend_loose":{"return":{"type":"int","comment":""},"group":"odb","file":"odb_backend.h","sig":"git_odb_backend **::const char *","comments":"","argline":"git_odb_backend **backend_out, const char *objects_dir","line":70,"args":[{"type":"git_odb_backend **","comment":"","name":"backend_out"},{"type":"const char *","comment":"","name":"objects_dir"}],"rawComments":"","lineto":70,"description":""},"git_index_open_bare":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"index","file":"index.h","sig":"git_index **::const char *","comments":"Since there is no ODB behind this index, any Index methods\n which rely on the ODB (e.g. index_add) will fail with the\n GIT_EBAREINDEX error code.","argline":"git_index **index, const char *index_path","line":74,"args":[{"type":"git_index **","comment":"the pointer for the new index","name":"index"},{"type":"const char *","comment":"the path to the index file in disk","name":"index_path"}],"rawComments":"\n Create a new Git index object as a memory representation\n of the Git index file in 'index_path', without a repository\n to back it.\n\n Since there is no ODB behind this index, any Index methods\n which rely on the ODB (e.g. index_add) will fail with the\n GIT_EBAREINDEX error code.\n\n @param index the pointer for the new index\n @param index_path the path to the index file in disk\n @return 0 on success; error code otherwise\n\n","lineto":87,"description":"Create a new Git index object as a memory representation of the Git index file in 'index_path', without a repository to back it."},"git_blob_set_rawcontent_fromfile":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"blob","file":"blob.h","sig":"git_blob *::const char *","comments":"","argline":"git_blob *blob, const char *filename","line":73,"args":[{"type":"git_blob *","comment":"pointer to the new blob","name":"blob"},{"type":"const char *","comment":"name of the file to read","name":"filename"}],"rawComments":"\n Fill a blob with the contents inside\n the pointed file.\n\n @param blob pointer to the new blob\n @param filename name of the file to read\n @return 0 on success; error code otherwise\n\n","lineto":81,"description":"Fill a blob with the contents inside the pointed file."},"git_commit_lookup":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"commit","file":"commit.h","sig":"git_commit **::git_repository *::const git_oid *","comments":"","argline":"git_commit **commit, git_repository *repo, const git_oid *id","line":42,"args":[{"type":"git_commit **","comment":"pointer to the looked up commit","name":"commit"},{"type":"git_repository *","comment":"the repo to use when locating the commit.","name":"repo"},{"type":"const git_oid *","comment":"identity of the commit to locate. If the object is an annotated tag it will be peeled back to the commit.","name":"id"}],"rawComments":"\n Lookup a commit object from a repository.\n The generated commit object is owned by the revision\n repo and shall not be freed by the user.\n\n @param commit pointer to the looked up commit\n @param repo the repo to use when locating the commit.\n @param id identity of the commit to locate. If the object is\n an annotated tag it will be peeled back to the commit.\n @return 0 on success; error code otherwise\n\n","lineto":56,"description":"Lookup a commit object from a repository. The generated commit object is owned by the revision repo and shall not be freed by the user."},"git_tag_set_tagger":{"return":{"type":"void","comment":""},"group":"tag","file":"tag.h","sig":"git_tag *::const git_signature *","comments":"","argline":"git_tag *tag, const git_signature *tagger_sig","line":129,"args":[{"type":"git_tag *","comment":"The tag to modify","name":"tag"},{"type":"const git_signature *","comment":"signature of the tagging action","name":"tagger_sig"}],"rawComments":"\n Set the tagger of a tag\n @param tag The tag to modify\n @param tagger_sig signature of the tagging action\n\n","lineto":134,"description":"Set the tagger of a tag"},"git_revwalk_sorting":{"return":{"type":"int","comment":""},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk *::unsigned int","comments":"","argline":"git_revwalk *walk, unsigned int sort_mode","line":110,"args":[{"type":"git_revwalk *","comment":"the walker being used for the traversal.","name":"walk"},{"type":"unsigned int","comment":"combination of GIT_RPSORT_XXX flags","name":"sort_mode"}],"rawComments":"\n Change the sorting mode when iterating through the\n repository's contents.\n Changing the sorting mode resets the walker.\n @param walk the walker being used for the traversal.\n @param sort_mode combination of GIT_RPSORT_XXX flags\n\n","lineto":117,"description":"Change the sorting mode when iterating through the repository's contents. Changing the sorting mode resets the walker."},"git_blob_rawcontent":{"return":{"type":"const char *","comment":"the pointer; NULL if the blob has no contents"},"group":"blob","file":"blob.h","sig":"git_blob *","comments":"A pointer to the raw content of a blob is returned;\n this pointer is owned internally by the object and shall\n not be free'd. The pointer may be invalidated at a later\n time (e.g. when changing the contents of the blob).","argline":"git_blob *blob","line":94,"args":[{"type":"git_blob *","comment":"pointer to the blob","name":"blob"}],"rawComments":"\n Get a read-only buffer with the raw content of a blob.\n\n A pointer to the raw content of a blob is returned;\n this pointer is owned internally by the object and shall\n not be free'd. The pointer may be invalidated at a later\n time (e.g. when changing the contents of the blob).\n\n @param blob pointer to the blob\n @return the pointer; NULL if the blob has no contents\n\n","lineto":105,"description":"Get a read-only buffer with the raw content of a blob."},"git_tree_entry_set_attributes":{"return":{"type":"void","comment":""},"group":"tree","file":"tree.h","sig":"git_tree_entry *::int","comments":"This will mark the tree that contains the entry as modified;\n the modified entry will be written back to disk on the next git_object_write()\n\n @param oid new attributes for the entry","argline":"git_tree_entry *entry, int attr","line":239,"args":[{"type":"git_tree_entry *","comment":"Entry object which will be modified","name":"entry"},{"type":"int","comment":"","name":"attr"}],"rawComments":"\n Change the attributes of a tree entry.\n\n This will mark the tree that contains the entry as modified;\n the modified entry will be written back to disk on the next git_object_write()\n\n @param entry Entry object which will be modified\n @param oid new attributes for the entry\n\n","lineto":248,"description":"Change the attributes of a tree entry."},"git_tree_entry_set_name":{"return":{"type":"void","comment":""},"group":"tree","file":"tree.h","sig":"git_tree_entry *::const char *","comments":"This will mark the tree that contains the entry as modified;\n the modified entry will be written back to disk on the next git_object_write()\n\n @param oid new filename for the entry","argline":"git_tree_entry *entry, const char *name","line":228,"args":[{"type":"git_tree_entry *","comment":"Entry object which will be modified","name":"entry"},{"type":"const char *","comment":"","name":"name"}],"rawComments":"\n Change the filename of a tree entry.\n\n This will mark the tree that contains the entry as modified;\n the modified entry will be written back to disk on the next git_object_write()\n\n @param entry Entry object which will be modified\n @param oid new filename for the entry\n\n","lineto":237,"description":"Change the filename of a tree entry."},"git_tree_remove_entry_byname":{"return":{"type":"int","comment":"0 on successful removal; GIT_ENOTFOUND if the entry wasn't found"},"group":"tree","file":"tree.h","sig":"git_tree *::const char *","comments":"This will mark the tree as modified; the modified entry will\n be written back to disk on the next git_object_write()","argline":"git_tree *tree, const char *filename","line":195,"args":[{"type":"git_tree *","comment":"Tree where to remove the entry","name":"tree"},{"type":"const char *","comment":"File name of the entry","name":"filename"}],"rawComments":"\n Remove an entry by its filename.\n\n This will mark the tree as modified; the modified entry will\n be written back to disk on the next git_object_write()\n\n @param tree Tree where to remove the entry\n @param filename File name of the entry\n @return 0 on successful removal; GIT_ENOTFOUND if the entry wasn't found\n\n","lineto":205,"description":"Remove an entry by its filename."},"git_tree_entry_byname":{"return":{"type":"git_tree_entry *","comment":"the tree entry; NULL if not found"},"group":"tree","file":"tree.h","sig":"git_tree *::const char *","comments":"","argline":"git_tree *tree, const char *filename","line":88,"args":[{"type":"git_tree *","comment":"a previously loaded tree.","name":"tree"},{"type":"const char *","comment":"the filename of the desired entry","name":"filename"}],"rawComments":"\n Lookup a tree entry by its filename\n @param tree a previously loaded tree.\n @param filename the filename of the desired entry\n @return the tree entry; NULL if not found\n\n","lineto":94,"description":"Lookup a tree entry by its filename"},"git_oid_mkraw":{"return":{"type":"void","comment":""},"group":"oid","file":"oid.h","sig":"git_oid *::const unsigned char *","comments":"","argline":"git_oid *out, const unsigned char *raw","line":62,"args":[{"type":"git_oid *","comment":"oid structure the result is written into.","name":"out"},{"type":"const unsigned char *","comment":"the raw input bytes to be copied.","name":"raw"}],"rawComments":"\n Copy an already raw oid into a git_oid structure.\n @param out oid structure the result is written into.\n @param raw the raw input bytes to be copied.\n\n","lineto":67,"description":"Copy an already raw oid into a git_oid structure."},"git_tag_message":{"return":{"type":"const char *","comment":"message of the tag"},"group":"tag","file":"tag.h","sig":"git_tag *","comments":"","argline":"git_tag *t","line":108,"args":[{"type":"git_tag *","comment":"","name":"t"}],"rawComments":"\n Get the message of a tag\n @param tag a previously loaded tag.\n @return message of the tag\n\n","lineto":113,"description":"Get the message of a tag @param tag a previously loaded tag."},"git_index_read":{"return":{"type":"int","comment":"0 on success, otherwise an error code"},"group":"index","file":"index.h","sig":"git_index *","comments":"","argline":"git_index *index","line":115,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"}],"rawComments":"\n Update the contents of an existing index object in memory\n by reading from the hard disk.\n\n @param index an existing index object\n @return 0 on success, otherwise an error code\n\n","lineto":122,"description":"Update the contents of an existing index object in memory by reading from the hard disk."},"git_tree_remove_entry_byindex":{"return":{"type":"int","comment":"0 on successful removal; GIT_ENOTFOUND if the entry wasn't found"},"group":"tree","file":"tree.h","sig":"git_tree *::int","comments":"Index must be >= 0 and < than git_tree_entrycount().\n\n This will mark the tree as modified; the modified entry will\n be written back to disk on the next git_object_write()","argline":"git_tree *tree, int idx","line":181,"args":[{"type":"git_tree *","comment":"Tree where to remove the entry","name":"tree"},{"type":"int","comment":"index of the entry","name":"idx"}],"rawComments":"\n Remove an entry by its index.\n\n Index must be >= 0 and < than git_tree_entrycount().\n\n This will mark the tree as modified; the modified entry will\n be written back to disk on the next git_object_write()\n\n @param tree Tree where to remove the entry\n @param idx index of the entry\n @return 0 on successful removal; GIT_ENOTFOUND if the entry wasn't found\n\n","lineto":193,"description":"Remove an entry by its index."},"git_oid_cpy":{"return":{"type":"void","comment":""},"group":"oid","file":"oid.h","sig":"git_oid *::const git_oid *","comments":"","argline":"git_oid *out, const git_oid *src","line":120,"args":[{"type":"git_oid *","comment":"oid structure the result is written into.","name":"out"},{"type":"const git_oid *","comment":"oid structure to copy from.","name":"src"}],"rawComments":"\n Copy an oid from one structure to another.\n @param out oid structure the result is written into.\n @param src oid structure to copy from.\n\n","lineto":125,"description":"Copy an oid from one structure to another."},"git_commit_new":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"commit","file":"commit.h","sig":"git_commit **::git_repository *","comments":"The commit object must be manually filled using\n setter methods before it can be written to its\n repository.","argline":"git_commit **commit, git_repository *repo","line":58,"args":[{"type":"git_commit **","comment":"pointer to the new commit","name":"commit"},{"type":"git_repository *","comment":"The repository where the object will reside","name":"repo"}],"rawComments":"\n Create a new in-memory git_commit.\n\n The commit object must be manually filled using\n setter methods before it can be written to its\n repository.\n\n @param commit pointer to the new commit\n @param repo The repository where the object will reside\n @return 0 on success; error code otherwise\n\n","lineto":72,"description":"Create a new in-memory git_commit."},"git_object_id":{"return":{"type":"const git_oid *","comment":"the SHA1 id"},"group":"object","file":"object.h","sig":"git_object *","comments":"In-memory objects created by git_object_new() do not\n have a SHA1 ID until they are written on a repository.","argline":"git_object *obj","line":60,"args":[{"type":"git_object *","comment":"the repository object","name":"obj"}],"rawComments":"\n Get the id (SHA1) of a repository object\n\n In-memory objects created by git_object_new() do not\n have a SHA1 ID until they are written on a repository.\n\n @param obj the repository object\n @return the SHA1 id\n\n","lineto":69,"description":"Get the id (SHA1) of a repository object"},"git_tree_add_entry_unsorted":{"return":{"type":"int","comment":"0 on success; otherwise error code"},"group":"tree","file":"tree.h","sig":"git_tree_entry **::git_tree *::const git_oid *::const char *::int","comments":"This will mark the tree as modified; the new entry will\n be written back to disk on the next git_object_write()\n\n @iparam id OID for the tree entry","argline":"git_tree_entry **entry, git_tree *tree, const git_oid *id, const char *filename, int attributes","line":151,"args":[{"type":"git_tree_entry **","comment":"Entry object which will be created","name":"entry"},{"type":"git_tree *","comment":"Tree object to store the entry","name":"tree"},{"type":"const git_oid *","comment":"","name":"id"},{"type":"const char *","comment":"Filename for the tree entry","name":"filename"},{"type":"int","comment":"UNIX file attributes for the entry","name":"attributes"}],"rawComments":"\n Add a new entry to a tree, returning that new entry.\n The only difference with this call is that it does not sort\n tree afterwards, this requirement is left to the caller.\n\n This will mark the tree as modified; the new entry will\n be written back to disk on the next git_object_write()\n\n @param entry Entry object which will be created\n @param tree Tree object to store the entry\n @iparam id OID for the tree entry\n @param filename Filename for the tree entry\n @param attributes UNIX file attributes for the entry\n @return 0 on success; otherwise error code\n\n","lineto":166,"description":"Add a new entry to a tree, returning that new entry. The only difference with this call is that it does not sort tree afterwards, this requirement is left to the caller."},"git_odb_close":{"return":{"type":"void","comment":""},"group":"odb","file":"odb.h","sig":"git_odb *","comments":"","argline":"git_odb *db","line":84,"args":[{"type":"git_odb *","comment":"database pointer to close. If NULL no action is taken.","name":"db"}],"rawComments":"\n Close an open object database.\n @param db database pointer to close. If NULL no action is taken.\n\n","lineto":88,"description":"Close an open object database."},"git_tree_entry_name":{"return":{"type":"const char *","comment":"the name of the file"},"group":"tree","file":"tree.h","sig":"git_tree_entry *","comments":"","argline":"git_tree_entry *entry","line":111,"args":[{"type":"git_tree_entry *","comment":"a tree entry","name":"entry"}],"rawComments":"\n Get the filename of a tree entry\n @param entry a tree entry\n @return the name of the file\n\n","lineto":116,"description":"Get the filename of a tree entry"},"git_index_clear":{"return":{"type":"void","comment":""},"group":"index","file":"index.h","sig":"git_index *","comments":"","argline":"git_index *index","line":99,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"}],"rawComments":"\n Clear the contents (all the entries) of an index object.\n This clears the index object in memory; changes must be manually\n written to disk for them to take effect.\n\n @param index an existing index object\n\n","lineto":106,"description":"Clear the contents (all the entries) of an index object. This clears the index object in memory; changes must be manually written to disk for them to take effect."},"git_tree_lookup":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"tree","file":"tree.h","sig":"git_tree **::git_repository *::const git_oid *","comments":"","argline":"git_tree **tree, git_repository *repo, const git_oid *id","line":42,"args":[{"type":"git_tree **","comment":"pointer to the looked up tree","name":"tree"},{"type":"git_repository *","comment":"the repo to use when locating the tree.","name":"repo"},{"type":"const git_oid *","comment":"identity of the tree to locate.","name":"id"}],"rawComments":"\n Lookup a tree object from the repository.\n The generated tree object is owned by the revision\n repo and shall not be freed by the user.\n\n @param tree pointer to the looked up tree\n @param repo the repo to use when locating the tree.\n @param id identity of the tree to locate.\n @return 0 on success; error code otherwise\n\n","lineto":55,"description":"Lookup a tree object from the repository. The generated tree object is owned by the revision repo and shall not be freed by the user."},"git_commit_message":{"return":{"type":"const char *","comment":"the message of a commit"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":88,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the full message of a commit.\n @param commit a previously loaded commit.\n @return the message of a commit\n\n","lineto":93,"description":"Get the full message of a commit."}},"files":[{"meta":{"defgroup":"git_blob Git blob load and write routines","ingroup":"Git","file":"git2/blob.h","brief":"Git blob load and write routines"},"lines":128,"file":"blob.h","functions":["git_blob_lookup","git_blob_new","git_blob_set_rawcontent_fromfile","git_blob_set_rawcontent","git_blob_rawcontent","git_blob_rawsize","git_blob_writefile"]},{"meta":{"defgroup":"git_commit Git commit parsing, formatting routines","ingroup":"Git","file":"git2/commit.h","brief":"Git commit parsing, formatting routines"},"lines":184,"file":"commit.h","functions":["git_commit_lookup","git_commit_new","git_commit_id","git_commit_message_short","git_commit_message","git_commit_time","git_commit_time_offset","git_commit_committer","git_commit_author","git_commit_tree","git_commit_parentcount","git_commit_parent","git_commit_add_parent","git_commit_set_message","git_commit_set_committer","git_commit_set_author","git_commit_set_tree"]},{"meta":{"defgroup":"git_common Git common platform definitions","ingroup":"Git","file":"git2/common.h","brief":"Git common platform definitions"},"lines":160,"file":"common.h","functions":["__attribute__","__attribute__"]},{"meta":{"defgroup":null,"ingroup":"Git","file":"git2/errors.h","brief":"Git error handling routines and variables"},"lines":45,"file":"errors.h","functions":["git_strerror"]},{"meta":{"defgroup":"git_index Git index parsing and manipulation routines","ingroup":"Git","file":"git2/index.h","brief":"Git index parsing and manipulation routines"},"lines":198,"file":"index.h","functions":["git_index_open_bare","git_index_open_inrepo","git_index_clear","git_index_free","git_index_read","git_index_write","git_index_find","git_index_add","git_index_remove","git_index_insert","git_index_get","git_index_entrycount"]},{"meta":{"defgroup":"git_object Git revision object management routines","ingroup":"Git","file":"git2/object.h","brief":"Git revision object management routines"},"lines":146,"file":"object.h","functions":["git_object_write","git_object_id","git_object_type","git_object_owner","git_object_free","git_object_typeisloose","git_object__size"]},{"meta":{"defgroup":"git_odb Git object database routines","ingroup":"Git","file":"git2/odb.h","brief":"Git object database routines"},"lines":184,"file":"odb.h","functions":["git_odb_new","git_odb_open","git_odb_add_backend","git_odb_close","git_odb_read","git_odb_read_header","git_odb_write","git_odb_exists","git_rawobj_hash","git_rawobj_close"]},{"meta":{"defgroup":"git_backend Git custom backend API","ingroup":"Git","file":"git2/backend.h","brief":"Git custom backend functions"},"lines":78,"file":"odb_backend.h","functions":["GIT_EXTERN","git_odb_backend_loose","git_odb_backend_sqlite"]},{"meta":{"defgroup":"git_oid Git object id routines","ingroup":"Git","file":"git2/oid.h","brief":"Git object id routines"},"lines":137,"file":"oid.h","functions":["git_oid_mkstr","git_oid_mkraw","git_oid_fmt","git_oid_pathfmt","git_oid_allocfmt","git_oid_to_string","git_oid_cpy","git_oid_cmp"]},{"meta":{"defgroup":"git_reference Git reference management routines","ingroup":"Git","file":"git2/refs.h","brief":"Git reference management routines"},"lines":175,"file":"refs.h","functions":["git_reference_new","git_reference_oid","git_reference_target","git_reference_type","git_reference_name","git_reference_resolve","git_reference_write","git_reference_owner","git_reference_set_name","git_reference_set_target","git_reference_set_oid"]},{"meta":{"defgroup":"git_repository Git repository management routines","ingroup":"Git","file":"git2/repository.h","brief":"Git repository management routines"},"lines":239,"file":"repository.h","functions":["git_repository_open","git_repository_lookup","git_repository_database","git_repository_index","git_repository_newobject","git_repository_free","git_repository_init","git_repository_lookup_ref"]},{"meta":{"defgroup":"git_revwalk Git revision traversal routines","ingroup":"Git","file":"git2/revwalk.h","brief":"Git revision traversal routines"},"lines":136,"file":"revwalk.h","functions":["git_revwalk_new","git_revwalk_reset","git_revwalk_push","git_revwalk_hide","git_revwalk_next","git_revwalk_sorting","git_revwalk_free","git_revwalk_repository"]},{"meta":{"defgroup":"git_signature Git signature creation","ingroup":"Git","file":"git2/signature.h","brief":"Git signature creation"},"lines":70,"file":"signature.h","functions":["git_signature_new","git_signature_dup","git_signature_free"]},{"meta":{"defgroup":"git_tag Git tag management","ingroup":"Git","file":"git2/tag.h","brief":"Git tag parsing routines"},"lines":145,"file":"tag.h","functions":["git_tag_lookup","git_tag_new","git_tag_id","git_tag_target","git_tag_type","git_tag_name","git_tag_tagger","git_tag_message","git_tag_set_target","git_tag_set_name","git_tag_set_tagger","git_tag_set_message"]},{"meta":{"defgroup":null,"ingroup":null,"file":null,"brief":null},"lines":80,"file":"thread-utils.h","functions":[]},{"meta":{"defgroup":"git_tree Git tree parsing, loading routines","ingroup":"Git","file":"git2/tree.h","brief":"Git tree parsing, loading routines"},"lines":252,"file":"tree.h","functions":["git_tree_lookup","git_tree_new","git_tree_id","git_tree_entrycount","git_tree_entry_byname","git_tree_entry_byindex","git_tree_entry_attributes","git_tree_entry_name","git_tree_entry_id","git_tree_add_entry","git_tree_add_entry_unsorted","git_tree_sort_entries","git_tree_remove_entry_byindex","git_tree_remove_entry_byname","git_tree_clear_entries","git_tree_entry_set_id","git_tree_entry_set_name","git_tree_entry_set_attributes"]},{"meta":{"defgroup":null,"ingroup":"Git","file":"git2/types.h","brief":"libgit2 base & compatibility types"},"lines":151,"file":"types.h","functions":[]},{"meta":{"defgroup":"git_zlib Git data compression routines","ingroup":"Git","file":"git2/zlib.h","brief":"Git data compression routines"},"lines":58,"file":"zlib.h","functions":["deflateBound"]}],"prefix":"src/git2","globals":{"GIT_IDXENTRY_STAGESHIFT":{"value":"12","file":"index.h","line":44},"GIT_EREVWALKOVER":{"value":"(GIT_ERROR - 20)","file":"common.h","line":155},"GIT_ENOMEM":{"value":"(GIT_ERROR - 3)","file":"common.h","line":104},"GIT_EPACKEDREFSCORRUPTED":{"value":"(GIT_ERROR - 18)","file":"common.h","line":149},"GIT_EOBJTYPE":{"value":"(GIT_ERROR - 5)","file":"common.h","line":110},"GIT_HAS_TLS":{"value":"1","file":"thread-utils.h","line":34},"GIT_EBAREINDEX":{"value":"(GIT_ERROR - 14)","file":"common.h","line":137},"GIT_EZLIB":{"value":"(GIT_ERROR - 12)","file":"common.h","line":131},"GIT_EOBJCORRUPTED":{"value":"(GIT_ERROR - 6)","file":"common.h","line":113},"GIT_SORT_TOPOLOGICAL":{"value":"(1 << 0)","file":"revwalk.h","line":53},"GIT_IDXENTRY_STAGEMASK":{"value":"(0x3000)","file":"index.h","line":41},"GIT_EFLOCKFAIL":{"value":"(GIT_ERROR - 11)","file":"common.h","line":128},"GIT_OID_RAWSZ":{"value":"20","file":"oid.h","line":41},"GIT_IDXENTRY_EXTENDED":{"value":"(0x4000)","file":"index.h","line":42},"GIT_EREFCORRUPTED":{"value":"(GIT_ERROR - 16)","file":"common.h","line":143},"GIT_EINVALIDREFNAME":{"value":"(GIT_ERROR - 15)","file":"common.h","line":140},"GIT_ENOTFOUND":{"value":"(GIT_ERROR - 2)","file":"common.h","line":101},"GIT_SUCCESS":{"value":"0","file":"common.h","line":87},"GIT_SORT_REVERSE":{"value":"(1 << 2)","file":"revwalk.h","line":67},"GIT_EMISSINGOBJDATA":{"value":"(GIT_ERROR - 9)","file":"common.h","line":122},"GIT_EOSERR":{"value":"(GIT_ERROR - 4)","file":"common.h","line":107},"GIT_ERROR":{"value":"-1","file":"common.h","line":95},"GIT_OID_HEXSZ":{"value":"(GIT_OID_RAWSZ * 2)","file":"oid.h","line":44},"GIT_EINVALIDTYPE":{"value":"(GIT_ERROR - 8)","file":"common.h","line":119},"GIT_ENOTAREPO":{"value":"(GIT_ERROR - 7)","file":"common.h","line":116},"GIT_ENOTOID":{"value":"(GIT_ERROR - 1)","file":"common.h","line":98},"GIT_HAS_PTHREAD":{"value":"1","file":"thread-utils.h","line":35},"GIT_SORT_TIME":{"value":"(1 << 1)","file":"revwalk.h","line":60},"GIT_EINVALIDPATH":{"value":"(GIT_ERROR - 19)","file":"common.h","line":152},"GIT_EBUSY":{"value":"(GIT_ERROR - 13)","file":"common.h","line":134},"GIT_IDXENTRY_NAMEMASK":{"value":"(0x0fff)","file":"index.h","line":40},"GIT_SORT_NONE":{"value":"(0)","file":"revwalk.h","line":46},"GIT_IDXENTRY_VALID":{"value":"(0x8000)","file":"index.h","line":43},"GIT_ETOONESTEDSYMREF":{"value":"(GIT_ERROR - 17)","file":"common.h","line":146},"GIT_EPACKCORRUPTED":{"value":"(GIT_ERROR - 10)","file":"common.h","line":125}},"groups":[["GIT",["GIT_EXTERN"]],["blob",["git_blob_lookup","git_blob_new","git_blob_rawcontent","git_blob_rawsize","git_blob_set_rawcontent","git_blob_set_rawcontent_fromfile","git_blob_writefile"]],["commit",["git_commit_add_parent","git_commit_author","git_commit_committer","git_commit_id","git_commit_lookup","git_commit_message","git_commit_message_short","git_commit_new","git_commit_parent","git_commit_parentcount","git_commit_set_author","git_commit_set_committer","git_commit_set_message","git_commit_set_tree","git_commit_time","git_commit_time_offset","git_commit_tree"]],["errors",["git_strerror"]],["index",["git_index_add","git_index_clear","git_index_entrycount","git_index_find","git_index_free","git_index_get","git_index_insert","git_index_open_bare","git_index_open_inrepo","git_index_read","git_index_remove","git_index_write"]],["object",["git_object__size","git_object_free","git_object_id","git_object_owner","git_object_type","git_object_typeisloose","git_object_write"]],["odb",["git_odb_add_backend","git_odb_backend_loose","git_odb_backend_sqlite","git_odb_close","git_odb_exists","git_odb_new","git_odb_open","git_odb_read","git_odb_read_header","git_odb_write"]],["oid",["git_oid_allocfmt","git_oid_cmp","git_oid_cpy","git_oid_fmt","git_oid_mkraw","git_oid_mkstr","git_oid_pathfmt","git_oid_to_string"]],["rawobj",["git_rawobj_close","git_rawobj_hash"]],["reference",["git_reference_name","git_reference_new","git_reference_oid","git_reference_owner","git_reference_resolve","git_reference_set_name","git_reference_set_oid","git_reference_set_target","git_reference_target","git_reference_type","git_reference_write"]],["repository",["git_repository_database","git_repository_free","git_repository_index","git_repository_init","git_repository_lookup","git_repository_lookup_ref","git_repository_newobject","git_repository_open"]],["revwalk",["git_revwalk_free","git_revwalk_hide","git_revwalk_new","git_revwalk_next","git_revwalk_push","git_revwalk_repository","git_revwalk_reset","git_revwalk_sorting"]],["signature",["git_signature_dup","git_signature_free","git_signature_new"]],["tag",["git_tag_id","git_tag_lookup","git_tag_message","git_tag_name","git_tag_new","git_tag_set_message","git_tag_set_name","git_tag_set_tagger","git_tag_set_target","git_tag_tagger","git_tag_target","git_tag_type"]],["tree",["git_tree_add_entry","git_tree_add_entry_unsorted","git_tree_clear_entries","git_tree_entry_attributes","git_tree_entry_byindex","git_tree_entry_byname","git_tree_entry_id","git_tree_entry_name","git_tree_entry_set_attributes","git_tree_entry_set_id","git_tree_entry_set_name","git_tree_entrycount","git_tree_id","git_tree_lookup","git_tree_new","git_tree_remove_entry_byindex","git_tree_remove_entry_byname","git_tree_sort_entries"]],["zlib",["deflateBound"]]],"types":[["git_blob",{"type":"struct","value":"git_blob","file":"types.h","tdef":"typedef","line":111,"used":{"needs":["git_blob_lookup","git_blob_new","git_blob_rawcontent","git_blob_rawsize","git_blob_set_rawcontent","git_blob_set_rawcontent_fromfile"],"returns":[]}}],["git_commit",{"type":"struct","value":"git_commit","file":"types.h","tdef":"typedef","line":114,"used":{"needs":["git_commit_add_parent","git_commit_author","git_commit_committer","git_commit_id","git_commit_lookup","git_commit_message","git_commit_message_short","git_commit_new","git_commit_parent","git_commit_parentcount","git_commit_set_author","git_commit_set_committer","git_commit_set_message","git_commit_set_tree","git_commit_time","git_commit_time_offset","git_commit_tree","git_revwalk_hide","git_revwalk_next","git_revwalk_push"],"returns":["git_commit_parent"]}}],["git_index",{"type":"struct","value":"git_index","file":"types.h","tdef":"typedef","line":123,"used":{"needs":["git_index_add","git_index_clear","git_index_entrycount","git_index_find","git_index_free","git_index_get","git_index_insert","git_index_open_bare","git_index_open_inrepo","git_index_read","git_index_remove","git_index_write","git_repository_index"],"returns":[]}}],["git_index_entry",{"type":"struct","value":null,"file":"index.h","tdef":"typedef","line":54,"lineto":71,"used":{"needs":["git_index_insert"],"returns":["git_index_get"]},"block":"git_index_time ctime;\ngit_index_time mtime;\n\nunsigned int dev;\nunsigned int ino;\nunsigned int mode;\nunsigned int uid;\nunsigned int gid;\ngit_off_t file_size;\n\ngit_oid oid;\n\nunsigned short flags;\nunsigned short flags_extended;\n\nchar *path;\n"}],["git_index_time",{"type":"struct","value":null,"file":"index.h","tdef":"typedef","line":47,"lineto":51,"used":{"needs":[],"returns":[]},"block":"git_time_t seconds;\n/* nsec should not be stored as time_t compatible */\nunsigned int nanoseconds;\n"}],["git_object",{"type":"struct","value":"git_object","file":"types.h","tdef":"typedef","line":102,"used":{"needs":["git_object_free","git_object_id","git_object_owner","git_object_type","git_object_write","git_repository_lookup","git_repository_newobject","git_tag_set_target"],"returns":["git_tag_target"]}}],["git_odb",{"type":"struct","value":"git_odb","file":"types.h","tdef":"typedef","line":90,"used":{"needs":["git_odb_add_backend","git_odb_close","git_odb_exists","git_odb_new","git_odb_open","git_odb_read","git_odb_read_header","git_odb_write"],"returns":["git_repository_database"]}}],["git_odb_backend",{"type":"struct","value":"git_odb_backend","file":"types.h","tdef":"typedef","line":93,"used":{"needs":["GIT_EXTERN","git_odb_add_backend","git_odb_backend_loose","git_odb_backend_sqlite"],"returns":["GIT_EXTERN"]}}],["git_oid",{"type":"struct","value":null,"file":"oid.h","tdef":"typedef","line":47,"lineto":50,"used":{"needs":["git_blob_lookup","git_blob_writefile","git_commit_lookup","git_odb_exists","git_odb_read","git_odb_read_header","git_odb_write","git_oid_allocfmt","git_oid_cmp","git_oid_cpy","git_oid_fmt","git_oid_mkraw","git_oid_mkstr","git_oid_pathfmt","git_oid_to_string","git_rawobj_hash","git_reference_set_oid","git_repository_lookup","git_tag_lookup","git_tree_add_entry","git_tree_add_entry_unsorted","git_tree_entry_set_id","git_tree_lookup"],"returns":["git_commit_id","git_object_id","git_reference_oid","git_tag_id","git_tree_entry_id","git_tree_id"]},"block":"/** raw binary formatted id */\nunsigned char id[GIT_OID_RAWSZ];\n"}],["git_otype",{"type":"enum","value":null,"file":"types.h","tdef":"typedef","line":76,"lineto":87,"used":{"needs":["git_object__size","git_object_typeisloose","git_repository_lookup","git_repository_newobject"],"returns":[]},"block":"GIT_OBJ_ANY = -2,\t\t/**< Object can be any of the following */\nGIT_OBJ_BAD = -1, /**< Object is invalid. */\nGIT_OBJ__EXT1 = 0, /**< Reserved for future use. */\nGIT_OBJ_COMMIT = 1, /**< A commit object. */\nGIT_OBJ_TREE = 2, /**< A tree (directory listing) object. */\nGIT_OBJ_BLOB = 3, /**< A file revision object. */\nGIT_OBJ_TAG = 4, /**< An annotated tag object. */\nGIT_OBJ__EXT2 = 5, /**< Reserved for future use. */\nGIT_OBJ_OFS_DELTA = 6, /**< A delta, base is given by an offset. */\nGIT_OBJ_REF_DELTA = 7, /**< A delta, base is given by object id. */\n"}],["git_rawobj",{"type":"struct","value":null,"file":"odb.h","tdef":"typedef","line":91,"lineto":95,"used":{"needs":["git_odb_read","git_odb_read_header","git_odb_write","git_rawobj_close","git_rawobj_hash"],"returns":[]},"block":"void *data; /**< Raw, decompressed object data. */\nsize_t len; /**< Total number of bytes in data. */\ngit_otype type; /**< Type of this object. */\n"}],["git_reference",{"type":"struct","value":"git_reference","file":"types.h","tdef":"typedef","line":139,"used":{"needs":["git_reference_name","git_reference_new","git_reference_oid","git_reference_owner","git_reference_resolve","git_reference_set_name","git_reference_set_oid","git_reference_set_target","git_reference_target","git_reference_type","git_reference_write","git_repository_lookup_ref"],"returns":[]}}],["git_repository",{"type":"struct","value":"git_repository","file":"types.h","tdef":"typedef","line":99,"used":{"needs":["git_blob_lookup","git_blob_new","git_blob_writefile","git_commit_lookup","git_commit_new","git_index_open_inrepo","git_reference_new","git_repository_database","git_repository_free","git_repository_index","git_repository_init","git_repository_lookup","git_repository_lookup_ref","git_repository_newobject","git_repository_open","git_revwalk_new","git_tag_lookup","git_tag_new","git_tree_lookup","git_tree_new"],"returns":["git_object_owner","git_reference_owner","git_revwalk_repository"]}}],["git_revwalk",{"type":"struct","value":"git_revwalk","file":"types.h","tdef":"typedef","line":105,"used":{"needs":["git_revwalk_free","git_revwalk_hide","git_revwalk_new","git_revwalk_next","git_revwalk_push","git_revwalk_repository","git_revwalk_reset","git_revwalk_sorting"],"returns":[]}}],["git_rtype",{"type":"enum","value":null,"file":"types.h","tdef":"typedef","line":142,"lineto":146,"used":{"needs":[],"returns":[]},"block":"GIT_REF_INVALID = -1, /** Invalid reference */\nGIT_REF_OID = 1, /** A reference which points at an object id */\nGIT_REF_SYMBOLIC = 2, /** A reference which points at another reference */\n"}],["git_signature",{"type":"struct","value":null,"file":"types.h","tdef":"typedef","line":132,"lineto":136,"used":{"needs":["git_commit_set_author","git_commit_set_committer","git_signature_dup","git_signature_free","git_tag_set_tagger"],"returns":["git_commit_author","git_commit_committer","git_signature_dup","git_signature_new","git_tag_tagger"]},"block":"char *name; /** full name of the author */\nchar *email; /** email of the author */\ngit_time when; /** time when the action happened */\n"}],["git_tag",{"type":"struct","value":"git_tag","file":"types.h","tdef":"typedef","line":108,"used":{"needs":["git_tag_id","git_tag_lookup","git_tag_message","git_tag_name","git_tag_new","git_tag_set_message","git_tag_set_name","git_tag_set_tagger","git_tag_set_target","git_tag_tagger","git_tag_target","git_tag_type"],"returns":[]}}],["git_time",{"type":"struct","value":null,"file":"types.h","tdef":"typedef","line":126,"lineto":129,"used":{"needs":[],"returns":[]},"block":"time_t time; /** time in seconds from epoch */\nint offset; /** timezone offset, in minutes */\n"}],["git_tree",{"type":"struct","value":"git_tree","file":"types.h","tdef":"typedef","line":120,"used":{"needs":["git_commit_set_tree","git_tree_add_entry","git_tree_add_entry_unsorted","git_tree_clear_entries","git_tree_entry_byindex","git_tree_entry_byname","git_tree_entrycount","git_tree_id","git_tree_lookup","git_tree_new","git_tree_remove_entry_byindex","git_tree_remove_entry_byname","git_tree_sort_entries"],"returns":["git_commit_tree"]}}],["git_tree_entry",{"type":"struct","value":"git_tree_entry","file":"types.h","tdef":"typedef","line":117,"used":{"needs":["git_tree_add_entry","git_tree_add_entry_unsorted","git_tree_entry_attributes","git_tree_entry_id","git_tree_entry_name","git_tree_entry_set_attributes","git_tree_entry_set_id","git_tree_entry_set_name"],"returns":["git_tree_entry_byindex","git_tree_entry_byname"]}}]]} \ No newline at end of file
+{"functions":{"git_index_clear":{"return":{"type":"void","comment":""},"group":"index","file":"index.h","sig":"git_index *","comments":"","argline":"git_index *index","line":99,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"}],"rawComments":"\n Clear the contents (all the entries) of an index object.\n This clears the index object in memory; changes must be manually\n written to disk for them to take effect.\n\n @param index an existing index object\n\n","lineto":106,"description":"Clear the contents (all the entries) of an index object. This clears the index object in memory; changes must be manually written to disk for them to take effect."},"git_tag_target":{"return":{"type":"const git_object *","comment":"reference to a repository object"},"group":"tag","file":"tag.h","sig":"git_tag *","comments":"","argline":"git_tag *t","line":80,"args":[{"type":"git_tag *","comment":"","name":"t"}],"rawComments":"\n Get the tagged object of a tag\n @param tag a previously loaded tag.\n @return reference to a repository object\n\n","lineto":85,"description":"Get the tagged object of a tag @param tag a previously loaded tag."},"git_commit_message_short":{"return":{"type":"const char *","comment":"the short message of a commit"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":81,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the short (one line) message of a commit.\n @param commit a previously loaded commit.\n @return the short message of a commit\n\n","lineto":86,"description":"Get the short (one line) message of a commit."},"git_blob_writefile":{"return":{"type":"int","comment":""},"group":"blob","file":"blob.h","sig":"git_oid *::git_repository *::const char *","comments":"","argline":"git_oid *written_id, git_repository *repo, const char *path","line":115,"args":[{"type":"git_oid *","comment":"return the id of the written blob","name":"written_id"},{"type":"git_repository *","comment":"repository where the blob will be written","name":"repo"},{"type":"const char *","comment":"file from which the blob will be created","name":"path"}],"rawComments":"\n Read a file from the working folder of a repository\n and write it to the Object Database as a loose blob,\n if such doesn't exist yet.\n\n @param written_id return the id of the written blob\n @param repo repository where the blob will be written\n @param path file from which the blob will be created\n\n","lineto":124,"description":"Read a file from the working folder of a repository and write it to the Object Database as a loose blob, if such doesn't exist yet."},"__attribute__":{"return":{"type":"","comment":""},"file":"common.h","sig":"","comments":"","argline":"(visibility(\"default\"))","line":52,"args":[{"type":"","comment":"","name":"(visibility(\"default\"))"}],"rawComments":" Declare a public TLS symbol exported for application use. ","lineto":57,"description":"Declare a public TLS symbol exported for application use."},"git_tag_message":{"return":{"type":"const char *","comment":"message of the tag"},"group":"tag","file":"tag.h","sig":"git_tag *","comments":"","argline":"git_tag *t","line":108,"args":[{"type":"git_tag *","comment":"","name":"t"}],"rawComments":"\n Get the message of a tag\n @param tag a previously loaded tag.\n @return message of the tag\n\n","lineto":113,"description":"Get the message of a tag @param tag a previously loaded tag."},"git_repository_open":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"repository","file":"repository.h","sig":"git_repository **::const char *","comments":"The 'path' argument must point to an existing git repository\n folder, e.g.\n\n\t\t/path/to/my_repo/.git/\t(normal repository)\n\t\t\t\t\t\t\tobjects/\n\t\t\t\t\t\t\tindex\n\t\t\t\t\t\t\tHEAD\n\n\t\t/path/to/bare_repo/\t\t(bare repository)\n\t\t\t\t\t\tobjects/\n\t\t\t\t\t\tindex\n\t\t\t\t\t\tHEAD\n\n\tThe method will automatically detect if 'path' is a normal\n\tor bare repository or fail is 'path' is neither.","argline":"git_repository **repository, const char *path","line":41,"args":[{"type":"git_repository **","comment":"pointer to the repo which will be opened","name":"repository"},{"type":"const char *","comment":"the path to the repository","name":"path"}],"rawComments":"\n Open a git repository.\n\n The 'path' argument must point to an existing git repository\n folder, e.g.\n\n\t\t/path/to/my_repo/.git/\t(normal repository)\n\t\t\t\t\t\t\tobjects/\n\t\t\t\t\t\t\tindex\n\t\t\t\t\t\t\tHEAD\n\n\t\t/path/to/bare_repo/\t\t(bare repository)\n\t\t\t\t\t\tobjects/\n\t\t\t\t\t\tindex\n\t\t\t\t\t\tHEAD\n\n\tThe method will automatically detect if 'path' is a normal\n\tor bare repository or fail is 'path' is neither.\n\n @param repository pointer to the repo which will be opened\n @param path the path to the repository\n @return 0 on success; error code otherwise\n\n","lineto":64,"description":"Open a git repository."},"git_reference_owner":{"return":{"type":"git_repository *","comment":"a pointer to the repo"},"group":"reference","file":"refs.h","sig":"git_reference *","comments":"","argline":"git_reference *ref","line":123,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Get the repository where a reference resides\n\n @param ref The reference\n @return a pointer to the repo\n\n","lineto":129,"description":"Get the repository where a reference resides"},"git_blob_set_rawcontent_fromfile":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"blob","file":"blob.h","sig":"git_blob *::const char *","comments":"","argline":"git_blob *blob, const char *filename","line":73,"args":[{"type":"git_blob *","comment":"pointer to the new blob","name":"blob"},{"type":"const char *","comment":"name of the file to read","name":"filename"}],"rawComments":"\n Fill a blob with the contents inside\n the pointed file.\n\n @param blob pointer to the new blob\n @param filename name of the file to read\n @return 0 on success; error code otherwise\n\n","lineto":81,"description":"Fill a blob with the contents inside the pointed file."},"git_repository_database":{"return":{"type":"git_odb *","comment":"a pointer to the object db"},"group":"repository","file":"repository.h","sig":"git_repository *","comments":"","argline":"git_repository *repo","line":155,"args":[{"type":"git_repository *","comment":"a repository object","name":"repo"}],"rawComments":"\n Get the object database behind a Git repository\n\n @param repo a repository object\n @return a pointer to the object db\n\n","lineto":161,"description":"Get the object database behind a Git repository"},"GIT_EXTERN":{"return":{"type":"struct git_odb_backend ;","comment":""},"group":"GIT","file":"odb_backend.h","sig":"int) git_odb_backend_pack(git_odb_backend **::const char *","comments":"","argline":"int) git_odb_backend_pack(git_odb_backend **backend_out, const char *objects_dir","line":41,"args":[{"type":"int) git_odb_backend_pack(git_odb_backend **","comment":"","name":"backend_out"},{"type":"const char *","comment":"","name":"objects_dir"}],"rawComments":" An instance for a custom backend ","lineto":69,"description":"An instance for a custom backend"},"git_oid_to_string":{"return":{"type":"char *","comment":"the out buffer pointer, assuming no input parameter errors, otherwise a pointer to an empty string."},"group":"oid","file":"oid.h","sig":"char *::size_t::const git_oid *","comments":"","argline":"char *out, size_t n, const git_oid *oid","line":103,"args":[{"type":"char *","comment":"the buffer into which the oid string is output.","name":"out"},{"type":"size_t","comment":"the size of the out buffer.","name":"n"},{"type":"const git_oid *","comment":"the oid structure to format.","name":"oid"}],"rawComments":"\n Format a git_oid into a buffer as a hex format c-string.\n <p>\n If the buffer is smaller than GIT_OID_HEXSZ+1, then the resulting\n oid c-string will be truncated to n-1 characters. If there are\n any input parameter errors (out == NULL, n == 0, oid == NULL),\n then a pointer to an empty string is returned, so that the return\n value can always be printed.\n\n @param out the buffer into which the oid string is output.\n @param n the size of the out buffer.\n @param oid the oid structure to format.\n @return the out buffer pointer, assuming no input parameter\n errors, otherwise a pointer to an empty string.\n\n","lineto":118,"description":"Format a git_oid into a buffer as a hex format c-string. <p> If the buffer is smaller than GIT_OID_HEXSZ+1, then the resulting oid c-string will be truncated to n-1 characters. If there are any input parameter errors (out == NULL, n == 0, oid == NULL), then a pointer to an empty string is returned, so that the return value can always be printed."},"git_tag_type":{"return":{"type":"git_otype","comment":"type of the tagged object"},"group":"tag","file":"tag.h","sig":"git_tag *","comments":"","argline":"git_tag *t","line":87,"args":[{"type":"git_tag *","comment":"","name":"t"}],"rawComments":"\n Get the type of a tag's tagged object\n @param tag a previously loaded tag.\n @return type of the tagged object\n\n","lineto":92,"description":"Get the type of a tag's tagged object @param tag a previously loaded tag."},"git_oid_cmp":{"return":{"type":"int","comment":"<0, 0, >0 if a < b, a == b, a > b."},"group":"oid","file":"oid.h","sig":"const git_oid *::const git_oid *","comments":"","argline":"const git_oid *a, const git_oid *b","line":127,"args":[{"type":"const git_oid *","comment":"first oid structure.","name":"a"},{"type":"const git_oid *","comment":"second oid structure.","name":"b"}],"rawComments":"\n Compare two oid structures.\n @param a first oid structure.\n @param b second oid structure.\n @return <0, 0, >0 if a < b, a == b, a > b.\n\n","lineto":133,"description":"Compare two oid structures."},"git_oid_allocfmt":{"return":{"type":"char *","comment":"the c-string; NULL if memory is exhausted. Caller must deallocate the string with free()."},"group":"oid","file":"oid.h","sig":"const git_oid *","comments":"","argline":"const git_oid *oid","line":95,"args":[{"type":"const git_oid *","comment":"the oid structure to format","name":"oid"}],"rawComments":"\n Format a gid_oid into a newly allocated c-string.\n @param oid the oid structure to format\n @return the c-string; NULL if memory is exhausted. Caller must\n deallocate the string with free().\n\n","lineto":101,"description":"Format a gid_oid into a newly allocated c-string."},"git_reference_target":{"return":{"type":"const char *","comment":"a pointer to the name if available, NULL otherwise"},"group":"reference","file":"refs.h","sig":"git_reference *","comments":"Only available if the reference is symbolic","argline":"git_reference *ref","line":64,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Get full name to the reference pointed by this reference\n\n Only available if the reference is symbolic\n\n @param ref The reference\n @return a pointer to the name if available, NULL otherwise\n\n","lineto":72,"description":"Get full name to the reference pointed by this reference"},"git_odb_backend_loose":{"return":{"type":"int","comment":""},"group":"odb","file":"odb_backend.h","sig":"git_odb_backend **::const char *","comments":"","argline":"git_odb_backend **backend_out, const char *objects_dir","line":70,"args":[{"type":"git_odb_backend **","comment":"","name":"backend_out"},{"type":"const char *","comment":"","name":"objects_dir"}],"rawComments":"","lineto":70,"description":""},"git_oid_fmt":{"return":{"type":"void","comment":""},"group":"oid","file":"oid.h","sig":"char *::const git_oid *","comments":"","argline":"char *str, const git_oid *oid","line":69,"args":[{"type":"char *","comment":"output hex string; must be pointing at the start of the hex sequence and have at least the number of bytes needed for an oid encoded in hex (40 bytes). Only the oid digits are written; a '\\\\0' terminator must be added by the caller if it is required.","name":"str"},{"type":"const git_oid *","comment":"oid structure to format.","name":"oid"}],"rawComments":"\n Format a git_oid into a hex string.\n @param str output hex string; must be pointing at the start of\n the hex sequence and have at least the number of bytes\n needed for an oid encoded in hex (40 bytes). Only the\n oid digits are written; a '\\\\0' terminator must be added\n by the caller if it is required.\n @param oid oid structure to format.\n\n","lineto":78,"description":"Format a git_oid into a hex string."},"git_tag_name":{"return":{"type":"const char *","comment":"name of the tag"},"group":"tag","file":"tag.h","sig":"git_tag *","comments":"","argline":"git_tag *t","line":94,"args":[{"type":"git_tag *","comment":"","name":"t"}],"rawComments":"\n Get the name of a tag\n @param tag a previously loaded tag.\n @return name of the tag\n\n","lineto":99,"description":"Get the name of a tag @param tag a previously loaded tag."},"git_tag_set_target":{"return":{"type":"void","comment":""},"group":"tag","file":"tag.h","sig":"git_tag *::git_object *","comments":"","argline":"git_tag *tag, git_object *target","line":115,"args":[{"type":"git_tag *","comment":"The tag to modify","name":"tag"},{"type":"git_object *","comment":"the new tagged target","name":"target"}],"rawComments":"\n Set the target of a tag (i.e. the object that the tag points to)\n @param tag The tag to modify\n @param target the new tagged target\n\n","lineto":120,"description":"Set the target of a tag (i.e. the object that the tag points to)"},"git_object_typeisloose":{"return":{"type":"int","comment":"true if the type represents a valid loose object type, false otherwise."},"group":"object","file":"object.h","sig":"git_otype","comments":"","argline":"git_otype type","line":120,"args":[{"type":"git_otype","comment":"object type to test.","name":"type"}],"rawComments":"\n Determine if the given git_otype is a valid loose object type.\n\n @param type object type to test.\n @return true if the type represents a valid loose object type,\n false otherwise.\n\n","lineto":127,"description":"Determine if the given git_otype is a valid loose object type."},"git_object_id":{"return":{"type":"const git_oid *","comment":"the SHA1 id"},"group":"object","file":"object.h","sig":"git_object *","comments":"In-memory objects created by git_object_new() do not\n have a SHA1 ID until they are written on a repository.","argline":"git_object *obj","line":60,"args":[{"type":"git_object *","comment":"the repository object","name":"obj"}],"rawComments":"\n Get the id (SHA1) of a repository object\n\n In-memory objects created by git_object_new() do not\n have a SHA1 ID until they are written on a repository.\n\n @param obj the repository object\n @return the SHA1 id\n\n","lineto":69,"description":"Get the id (SHA1) of a repository object"},"git_repository_index":{"return":{"type":"int","comment":"0 on success; error code if the index could not be opened"},"group":"repository","file":"repository.h","sig":"git_index **::git_repository *","comments":"This is a cheap operation; the index is only opened on the first call,\n and subsequent calls only retrieve the previous pointer.","argline":"git_index **index, git_repository *repo","line":163,"args":[{"type":"git_index **","comment":"Pointer where to store the index","name":"index"},{"type":"git_repository *","comment":"a repository object","name":"repo"}],"rawComments":"\n Get the Index file of a Git repository\n\n This is a cheap operation; the index is only opened on the first call,\n and subsequent calls only retrieve the previous pointer.\n\n @param index Pointer where to store the index\n @param repo a repository object\n @return 0 on success; error code if the index could not be opened\n\n","lineto":173,"description":"Get the Index file of a Git repository"},"git_index_insert":{"return":{"type":"int","comment":"0 on success, otherwise an error code"},"group":"index","file":"index.h","sig":"git_index *::const git_index_entry *","comments":"","argline":"git_index *index, const git_index_entry *source_entry","line":162,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"},{"type":"const git_index_entry *","comment":"new entry object","name":"source_entry"}],"rawComments":"\n Insert an entry into the index.\n A full copy (including the 'path' string) of the given\n 'source_entry' will be inserted on the index; if the index\n already contains an entry for the same path, the entry\n will be updated.\n\n @param index an existing index object\n @param source_entry new entry object\n @return 0 on success, otherwise an error code\n\n","lineto":173,"description":"Insert an entry into the index. A full copy (including the 'path' string) of the given 'source_entry' will be inserted on the index; if the index already contains an entry for the same path, the entry will be updated."},"git_reference_type":{"return":{"type":"git_rtype","comment":"the type"},"group":"reference","file":"refs.h","sig":"git_reference *","comments":"Either direct (GIT_REF_OID) or symbolic (GIT_REF_SYMBOLIC)","argline":"git_reference *ref","line":74,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Get the type of a reference\n\n Either direct (GIT_REF_OID) or symbolic (GIT_REF_SYMBOLIC)\n\n @param ref The reference\n @return the type\n\n","lineto":82,"description":"Get the type of a reference"},"git_repository_lookup":{"return":{"type":"int","comment":"a reference to the object"},"group":"repository","file":"repository.h","sig":"git_object **::git_repository *::const git_oid *::git_otype","comments":"The generated reference is owned by the repository and\n should not be freed by the user.\n\n The 'type' parameter must match the type of the object\n in the odb; the method will fail otherwise.\n The special value 'GIT_OBJ_ANY' may be passed to let\n the method guess the object's type.","argline":"git_object **object, git_repository *repo, const git_oid *id, git_otype type","line":136,"args":[{"type":"git_object **","comment":"pointer to the looked-up object","name":"object"},{"type":"git_repository *","comment":"the repository to look up the object","name":"repo"},{"type":"const git_oid *","comment":"the unique identifier for the object","name":"id"},{"type":"git_otype","comment":"the type of the object","name":"type"}],"rawComments":"\n Lookup a reference to one of the objects in the repostory.\n\n The generated reference is owned by the repository and\n should not be freed by the user.\n\n The 'type' parameter must match the type of the object\n in the odb; the method will fail otherwise.\n The special value 'GIT_OBJ_ANY' may be passed to let\n the method guess the object's type.\n\n @param object pointer to the looked-up object\n @param repo the repository to look up the object\n @param id the unique identifier for the object\n @param type the type of the object\n @return a reference to the object\n\n","lineto":153,"description":"Lookup a reference to one of the objects in the repostory."},"git_revwalk_reset":{"return":{"type":"void","comment":""},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk *","comments":"","argline":"git_revwalk *walker","line":78,"args":[{"type":"git_revwalk *","comment":"handle to reset.","name":"walker"}],"rawComments":"\n Reset the walking machinery for reuse.\n @param walker handle to reset.\n\n","lineto":82,"description":"Reset the walking machinery for reuse."},"git_odb_write":{"return":{"type":"int","comment":""},"group":"odb","file":"odb.h","sig":"git_oid *::git_odb *::git_rawobj *","comments":"@return\n - GIT_SUCCESS if the object was written;\n - GIT_ERROR otherwise.","argline":"git_oid *id, git_odb *db, git_rawobj *obj","line":130,"args":[{"type":"git_oid *","comment":"identity of the object written.","name":"id"},{"type":"git_odb *","comment":"database to which the object should be written.","name":"db"},{"type":"git_rawobj *","comment":"object descriptor for the object to write.","name":"obj"}],"rawComments":"\n Write an object to the database.\n\n @param id identity of the object written.\n @param db database to which the object should be written.\n @param obj object descriptor for the object to write.\n @return\n - GIT_SUCCESS if the object was written;\n - GIT_ERROR otherwise.\n\n","lineto":140,"description":"Write an object to the database."},"git_object_write":{"return":{"type":"int","comment":"0 on success; otherwise an error code"},"group":"object","file":"object.h","sig":"git_object *","comments":"The object will be written to its corresponding\n repository.\n\n If the object has no changes since it was first\n read from the repository, no actions will take place.\n\n If the object has been modified since it was read from\n the repository, or it has been created from scratch\n in memory, it will be written to the repository and\n its SHA1 ID will be updated accordingly.","argline":"git_object *object","line":41,"args":[{"type":"git_object *","comment":"Git object to write back","name":"object"}],"rawComments":"\n Write back an object to disk.\n\n The object will be written to its corresponding\n repository.\n\n If the object has no changes since it was first\n read from the repository, no actions will take place.\n\n If the object has been modified since it was read from\n the repository, or it has been created from scratch\n in memory, it will be written to the repository and\n its SHA1 ID will be updated accordingly.\n\n @param object Git object to write back\n @return 0 on success; otherwise an error code\n\n","lineto":58,"description":"Write back an object to disk."},"git_blob_new":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"blob","file":"blob.h","sig":"git_blob **::git_repository *","comments":"The blob object must be manually filled using\n the 'set_rawcontent' methods before it can\n be written back to disk.","argline":"git_blob **blob, git_repository *repo","line":57,"args":[{"type":"git_blob **","comment":"pointer to the new blob","name":"blob"},{"type":"git_repository *","comment":"The repository where the object will reside","name":"repo"}],"rawComments":"\n Create a new in-memory git_blob.\n\n The blob object must be manually filled using\n the 'set_rawcontent' methods before it can\n be written back to disk.\n\n @param blob pointer to the new blob\n @param repo The repository where the object will reside\n @return 0 on success; error code otherwise\n\n","lineto":71,"description":"Create a new in-memory git_blob."},"git_reference_name":{"return":{"type":"const char *","comment":"the full name for the ref"},"group":"reference","file":"refs.h","sig":"git_reference *","comments":"","argline":"git_reference *ref","line":84,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Get the full name of a reference\n\n @param ref The reference\n @return the full name for the ref\n\n","lineto":90,"description":"Get the full name of a reference"},"git_oid_mkraw":{"return":{"type":"void","comment":""},"group":"oid","file":"oid.h","sig":"git_oid *::const unsigned char *","comments":"","argline":"git_oid *out, const unsigned char *raw","line":62,"args":[{"type":"git_oid *","comment":"oid structure the result is written into.","name":"out"},{"type":"const unsigned char *","comment":"the raw input bytes to be copied.","name":"raw"}],"rawComments":"\n Copy an already raw oid into a git_oid structure.\n @param out oid structure the result is written into.\n @param raw the raw input bytes to be copied.\n\n","lineto":67,"description":"Copy an already raw oid into a git_oid structure."},"git_repository_init":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"repository","file":"repository.h","sig":"git_repository **::const char *::unsigned","comments":"TODO:\n\t- Reinit the repository\n\t- Create config files","argline":"git_repository **repo_out, const char *path, unsigned is_bare","line":204,"args":[{"type":"git_repository **","comment":"pointer to the repo which will be created or reinitialized","name":"repo_out"},{"type":"const char *","comment":"the path to the repository","name":"path"},{"type":"unsigned","comment":"if true, a Git repository without a working directory is created at the pointed path. If false, provided path will be considered as the working directory into which the .git directory will be created.","name":"is_bare"}],"rawComments":"\n Creates a new Git repository in the given folder.\n\n TODO:\n\t- Reinit the repository\n\t- Create config files\n\n @param repo_out pointer to the repo which will be created or reinitialized\n @param path the path to the repository\n @param is_bare if true, a Git repository without a working directory is created\n\t\tat the pointed path. If false, provided path will be considered as the working\n\t\tdirectory into which the .git directory will be created.\n\n @return 0 on success; error code otherwise\n\n","lineto":219,"description":"Creates a new Git repository in the given folder."},"git_oid_mkstr":{"return":{"type":"int","comment":"GIT_SUCCESS if valid; GIT_ENOTOID on failure."},"group":"oid","file":"oid.h","sig":"git_oid *::const char *","comments":"","argline":"git_oid *out, const char *str","line":52,"args":[{"type":"git_oid *","comment":"oid structure the result is written into.","name":"out"},{"type":"const char *","comment":"input hex string; must be pointing at the start of the hex sequence and have at least the number of bytes needed for an oid encoded in hex (40 bytes).","name":"str"}],"rawComments":"\n Parse a hex formatted object id into a git_oid.\n @param out oid structure the result is written into.\n @param str input hex string; must be pointing at the start of\n the hex sequence and have at least the number of bytes\n needed for an oid encoded in hex (40 bytes).\n @return GIT_SUCCESS if valid; GIT_ENOTOID on failure.\n\n","lineto":60,"description":"Parse a hex formatted object id into a git_oid."},"git_commit_parentcount":{"return":{"type":"unsigned int","comment":"integer of count of parents"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":130,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the number of parents of this commit\n\n @param commit a previously loaded commit.\n @return integer of count of parents\n\n","lineto":136,"description":"Get the number of parents of this commit"},"git_oid_pathfmt":{"return":{"type":"void","comment":""},"group":"oid","file":"oid.h","sig":"char *::const git_oid *","comments":"","argline":"char *str, const git_oid *oid","line":80,"args":[{"type":"char *","comment":"output hex string; must be pointing at the start of the hex sequence and have at least the number of bytes needed for an oid encoded in hex (41 bytes). Only the oid digits are written; a '\\\\0' terminator must be added by the caller if it is required.","name":"str"},{"type":"const git_oid *","comment":"oid structure to format.","name":"oid"}],"rawComments":"\n Format a git_oid into a loose-object path string.\n <p>\n The resulting string is \"aa/...\", where \"aa\" is the first two\n hex digitis of the oid and \"...\" is the remaining 38 digits.\n\n @param str output hex string; must be pointing at the start of\n the hex sequence and have at least the number of bytes\n needed for an oid encoded in hex (41 bytes). Only the\n oid digits are written; a '\\\\0' terminator must be added\n by the caller if it is required.\n @param oid oid structure to format.\n\n","lineto":93,"description":"Format a git_oid into a loose-object path string. <p> The resulting string is \"aa/...\", where \"aa\" is the first two hex digitis of the oid and \"...\" is the remaining 38 digits."},"git_odb_exists":{"return":{"type":"int","comment":""},"group":"odb","file":"odb.h","sig":"git_odb *::const git_oid *","comments":"@return\n - true, if the object was found\n - false, otherwise","argline":"git_odb *db, const git_oid *id","line":142,"args":[{"type":"git_odb *","comment":"database to be searched for the given object.","name":"db"},{"type":"const git_oid *","comment":"the object to search for.","name":"id"}],"rawComments":"\n Determine if the given object can be found in the object database.\n\n @param db database to be searched for the given object.\n @param id the object to search for.\n @return\n - true, if the object was found\n - false, otherwise\n\n","lineto":151,"description":"Determine if the given object can be found in the object database."},"git_index_open_inrepo":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"index","file":"index.h","sig":"git_index **::git_repository *","comments":"@param index_path the path to the index file in disk","argline":"git_index **index, git_repository *repo","line":89,"args":[{"type":"git_index **","comment":"","name":"index"},{"type":"git_repository *","comment":"the git repo which owns the index","name":"repo"}],"rawComments":"\n Open the Index inside the git repository pointed\n by 'repo'.\n\n @param repo the git repo which owns the index\n @param index_path the path to the index file in disk\n @return 0 on success; error code otherwise\n\n","lineto":97,"description":"Open the Index inside the git repository pointed by 'repo'."},"git_commit_set_author":{"return":{"type":"void","comment":""},"group":"commit","file":"commit.h","sig":"git_commit *::const git_signature *","comments":"","argline":"git_commit *commit, const git_signature *author_sig","line":168,"args":[{"type":"git_commit *","comment":"the commit object","name":"commit"},{"type":"const git_signature *","comment":"signature of the author","name":"author_sig"}],"rawComments":"\n Set the author of a commit\n @param commit the commit object\n @param author_sig signature of the author\n\n","lineto":173,"description":"Set the author of a commit"},"git_tree_add_entry_unsorted":{"return":{"type":"int","comment":"0 on success; otherwise error code"},"group":"tree","file":"tree.h","sig":"git_tree_entry **::git_tree *::const git_oid *::const char *::int","comments":"This will mark the tree as modified; the new entry will\n be written back to disk on the next git_object_write()\n\n @iparam id OID for the tree entry","argline":"git_tree_entry **entry, git_tree *tree, const git_oid *id, const char *filename, int attributes","line":151,"args":[{"type":"git_tree_entry **","comment":"Entry object which will be created","name":"entry"},{"type":"git_tree *","comment":"Tree object to store the entry","name":"tree"},{"type":"const git_oid *","comment":"","name":"id"},{"type":"const char *","comment":"Filename for the tree entry","name":"filename"},{"type":"int","comment":"UNIX file attributes for the entry","name":"attributes"}],"rawComments":"\n Add a new entry to a tree, returning that new entry.\n The only difference with this call is that it does not sort\n tree afterwards, this requirement is left to the caller.\n\n This will mark the tree as modified; the new entry will\n be written back to disk on the next git_object_write()\n\n @param entry Entry object which will be created\n @param tree Tree object to store the entry\n @iparam id OID for the tree entry\n @param filename Filename for the tree entry\n @param attributes UNIX file attributes for the entry\n @return 0 on success; otherwise error code\n\n","lineto":166,"description":"Add a new entry to a tree, returning that new entry. The only difference with this call is that it does not sort tree afterwards, this requirement is left to the caller."},"git_odb_new":{"return":{"type":"int","comment":"GIT_SUCCESS if the database was created; otherwise an error code describing why the open was not possible."},"group":"odb","file":"odb.h","sig":"git_odb **","comments":"Before the ODB can be used for read/writing, a custom database\n backend must be manually added using `git_odb_add_backend()`","argline":"git_odb **out","line":41,"args":[{"type":"git_odb **","comment":"location to store the database pointer, if opened. Set to NULL if the open failed.","name":"out"}],"rawComments":"\n Create a new object database with no backends.\n\n Before the ODB can be used for read/writing, a custom database\n backend must be manually added using `git_odb_add_backend()`\n\n @param out location to store the database pointer, if opened.\n Set to NULL if the open failed.\n @return GIT_SUCCESS if the database was created; otherwise an error\n code describing why the open was not possible.\n\n","lineto":52,"description":"Create a new object database with no backends."},"git_object_type":{"return":{"type":"git_otype","comment":"the object's type"},"group":"object","file":"object.h","sig":"git_object *","comments":"","argline":"git_object *obj","line":71,"args":[{"type":"git_object *","comment":"the repository object","name":"obj"}],"rawComments":"\n Get the object type of an object\n\n @param obj the repository object\n @return the object's type\n\n","lineto":77,"description":"Get the object type of an object"},"git_index_entrycount":{"return":{"type":"unsigned int","comment":"integer of count of current entries"},"group":"index","file":"index.h","sig":"git_index *","comments":"","argline":"git_index *index","line":187,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"}],"rawComments":"\n Get the count of entries currently in the index\n\n @param index an existing index object\n @return integer of count of current entries\n\n","lineto":193,"description":"Get the count of entries currently in the index"},"git_rawobj_hash":{"return":{"type":"int","comment":""},"group":"rawobj","file":"odb.h","sig":"git_oid *::git_rawobj *","comments":"The input obj must be a valid loose object type and the data\n pointer must not be NULL, unless the len field is also zero.\n\n @return\n - GIT_SUCCESS if the object-ID was correctly determined.\n - GIT_ERROR if the given object is malformed.","argline":"git_oid *id, git_rawobj *obj","line":157,"args":[{"type":"git_oid *","comment":"the resulting object-ID.","name":"id"},{"type":"git_rawobj *","comment":"the object whose hash is to be determined.","name":"obj"}],"rawComments":"\n Determine the object-ID (sha1 hash) of the given git_rawobj.\n\n The input obj must be a valid loose object type and the data\n pointer must not be NULL, unless the len field is also zero.\n\n @param id the resulting object-ID.\n @param obj the object whose hash is to be determined.\n @return\n - GIT_SUCCESS if the object-ID was correctly determined.\n - GIT_ERROR if the given object is malformed.\n\n","lineto":169,"description":"Determine the object-ID (sha1 hash) of the given git_rawobj."},"git_tag_new":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"tag","file":"tag.h","sig":"git_tag **::git_repository *","comments":"The tag object must be manually filled using\n setter methods before it can be written to its\n repository.","argline":"git_tag **tag, git_repository *repo","line":57,"args":[{"type":"git_tag **","comment":"pointer to the new tag","name":"tag"},{"type":"git_repository *","comment":"The repository where the object will reside","name":"repo"}],"rawComments":"\n Create a new in-memory git_tag.\n\n The tag object must be manually filled using\n setter methods before it can be written to its\n repository.\n\n @param tag pointer to the new tag\n @param repo The repository where the object will reside\n @return 0 on success; error code otherwise\n\n","lineto":71,"description":"Create a new in-memory git_tag."},"git_rawobj_close":{"return":{"type":"void","comment":""},"group":"rawobj","file":"odb.h","sig":"git_rawobj *","comments":"As a result of this call, obj->data will be set to NULL.\n\n If obj->data is already NULL, nothing happens.","argline":"git_rawobj *obj","line":171,"args":[{"type":"git_rawobj *","comment":"object descriptor to free.","name":"obj"}],"rawComments":"\n Release all memory used by the obj structure.\n\n As a result of this call, obj->data will be set to NULL.\n\n If obj->data is already NULL, nothing happens.\n\n @param obj object descriptor to free.\n\n","lineto":180,"description":"Release all memory used by the obj structure."},"git_blob_rawcontent":{"return":{"type":"const char *","comment":"the pointer; NULL if the blob has no contents"},"group":"blob","file":"blob.h","sig":"git_blob *","comments":"A pointer to the raw content of a blob is returned;\n this pointer is owned internally by the object and shall\n not be free'd. The pointer may be invalidated at a later\n time (e.g. when changing the contents of the blob).","argline":"git_blob *blob","line":94,"args":[{"type":"git_blob *","comment":"pointer to the blob","name":"blob"}],"rawComments":"\n Get a read-only buffer with the raw content of a blob.\n\n A pointer to the raw content of a blob is returned;\n this pointer is owned internally by the object and shall\n not be free'd. The pointer may be invalidated at a later\n time (e.g. when changing the contents of the blob).\n\n @param blob pointer to the blob\n @return the pointer; NULL if the blob has no contents\n\n","lineto":105,"description":"Get a read-only buffer with the raw content of a blob."},"git_object_owner":{"return":{"type":"git_repository *","comment":"the repository who owns this object"},"group":"object","file":"object.h","sig":"git_object *","comments":"","argline":"git_object *obj","line":79,"args":[{"type":"git_object *","comment":"the object","name":"obj"}],"rawComments":"\n Get the repository that owns this object\n\n @param obj the object\n @return the repository who owns this object\n\n","lineto":85,"description":"Get the repository that owns this object"},"git_repository_newobject":{"return":{"type":"int","comment":"the new object"},"group":"repository","file":"repository.h","sig":"git_object **::git_repository *::git_otype","comments":"The object's attributes can be filled in using the\n corresponding setter methods.\n\n The object will be written back to given git_repository\n when the git_object_write() function is called; objects\n cannot be written to disk until all their main\n attributes have been properly filled.\n\n Objects are instantiated with no SHA1 id; their id\n will be automatically generated when writing to the\n repository.\n\n @parem repo Repository where the object belongs","argline":"git_object **object, git_repository *repo, git_otype type","line":175,"args":[{"type":"git_object **","comment":"pointer to the new object","name":"object"},{"type":"git_repository *","comment":"","name":"repo"},{"type":"git_otype","comment":"Type of the object to be created","name":"type"}],"rawComments":"\n Create a new in-memory repository object with\n the given type.\n\n The object's attributes can be filled in using the\n corresponding setter methods.\n\n The object will be written back to given git_repository\n when the git_object_write() function is called; objects\n cannot be written to disk until all their main\n attributes have been properly filled.\n\n Objects are instantiated with no SHA1 id; their id\n will be automatically generated when writing to the\n repository.\n\n @param object pointer to the new object\n @parem repo Repository where the object belongs\n @param type Type of the object to be created\n @return the new object\n\n","lineto":196,"description":"Create a new in-memory repository object with the given type."},"git_commit_committer":{"return":{"type":"const git_signature *","comment":"the committer of a commit"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":109,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the committer of a commit.\n @param commit a previously loaded commit.\n @return the committer of a commit\n\n","lineto":114,"description":"Get the committer of a commit."},"git_odb_open":{"return":{"type":"int","comment":"GIT_SUCCESS if the database opened; otherwise an error code describing why the open was not possible."},"group":"odb","file":"odb.h","sig":"git_odb **::const char *","comments":"- git_odb_backend_loose: read and write loose object files\n\t\tfrom disk, assuming `objects_dir` as the Objects folder\n\n\t- git_odb_backend_pack: read objects from packfiles,\n\t\tassuming `objects_dir` as the Objects folder which\n\t\tcontains a 'pack/' folder with the corresponding data","argline":"git_odb **out, const char *objects_dir","line":54,"args":[{"type":"git_odb **","comment":"location to store the database pointer, if opened. Set to NULL if the open failed.","name":"out"},{"type":"const char *","comment":"path of the backends' \"objects\" directory.","name":"objects_dir"}],"rawComments":"\n Create a new object database and automatically add\n the two default backends:\n\n\t- git_odb_backend_loose: read and write loose object files\n\t\tfrom disk, assuming `objects_dir` as the Objects folder\n\n\t- git_odb_backend_pack: read objects from packfiles,\n\t\tassuming `objects_dir` as the Objects folder which\n\t\tcontains a 'pack/' folder with the corresponding data\n\n @param out location to store the database pointer, if opened.\n Set to NULL if the open failed.\n @param objects_dir path of the backends' \"objects\" directory.\n @return GIT_SUCCESS if the database opened; otherwise an error\n code describing why the open was not possible.\n\n","lineto":71,"description":"Create a new object database and automatically add the two default backends:"},"git_tree_add_entry":{"return":{"type":"int","comment":"0 on success; otherwise error code"},"group":"tree","file":"tree.h","sig":"git_tree_entry **::git_tree *::const git_oid *::const char *::int","comments":"This will mark the tree as modified; the new entry will\n be written back to disk on the next git_object_write()\n\n @iparam id OID for the tree entry","argline":"git_tree_entry **entry_out, git_tree *tree, const git_oid *id, const char *filename, int attributes","line":134,"args":[{"type":"git_tree_entry **","comment":"Pointer to the entry that just got created. May be NULL if you are not interested on getting the new entry","name":"entry_out"},{"type":"git_tree *","comment":"Tree object to store the entry","name":"tree"},{"type":"const git_oid *","comment":"","name":"id"},{"type":"const char *","comment":"Filename for the tree entry","name":"filename"},{"type":"int","comment":"UNIX file attributes for the entry","name":"attributes"}],"rawComments":"\n Add a new entry to a tree and return the new entry.\n\n This will mark the tree as modified; the new entry will\n be written back to disk on the next git_object_write()\n\n @param entry_out Pointer to the entry that just got\n\tcreated. May be NULL if you are not interested on\n\tgetting the new entry\n @param tree Tree object to store the entry\n @iparam id OID for the tree entry\n @param filename Filename for the tree entry\n @param attributes UNIX file attributes for the entry\n @return 0 on success; otherwise error code\n\n","lineto":149,"description":"Add a new entry to a tree and return the new entry."},"git_commit_set_tree":{"return":{"type":"void","comment":""},"group":"commit","file":"commit.h","sig":"git_commit *::git_tree *","comments":"","argline":"git_commit *commit, git_tree *tree","line":175,"args":[{"type":"git_commit *","comment":"the commit object","name":"commit"},{"type":"git_tree *","comment":"the new tree","name":"tree"}],"rawComments":"\n Set the tree which is pointed to by a commit\n @param commit the commit object\n @param tree the new tree\n\n","lineto":180,"description":"Set the tree which is pointed to by a commit"},"git_tree_remove_entry_byname":{"return":{"type":"int","comment":"0 on successful removal; GIT_ENOTFOUND if the entry wasn't found"},"group":"tree","file":"tree.h","sig":"git_tree *::const char *","comments":"This will mark the tree as modified; the modified entry will\n be written back to disk on the next git_object_write()","argline":"git_tree *tree, const char *filename","line":195,"args":[{"type":"git_tree *","comment":"Tree where to remove the entry","name":"tree"},{"type":"const char *","comment":"File name of the entry","name":"filename"}],"rawComments":"\n Remove an entry by its filename.\n\n This will mark the tree as modified; the modified entry will\n be written back to disk on the next git_object_write()\n\n @param tree Tree where to remove the entry\n @param filename File name of the entry\n @return 0 on successful removal; GIT_ENOTFOUND if the entry wasn't found\n\n","lineto":205,"description":"Remove an entry by its filename."},"git_repository_free":{"return":{"type":"void","comment":""},"group":"repository","file":"repository.h","sig":"git_repository *","comments":"","argline":"git_repository *repo","line":198,"args":[{"type":"git_repository *","comment":"repository handle to close. If NULL nothing occurs.","name":"repo"}],"rawComments":"\n Free a previously allocated repository\n @param repo repository handle to close. If NULL nothing occurs.\n\n","lineto":202,"description":"Free a previously allocated repository"},"git_odb_close":{"return":{"type":"void","comment":""},"group":"odb","file":"odb.h","sig":"git_odb *","comments":"","argline":"git_odb *db","line":84,"args":[{"type":"git_odb *","comment":"database pointer to close. If NULL no action is taken.","name":"db"}],"rawComments":"\n Close an open object database.\n @param db database pointer to close. If NULL no action is taken.\n\n","lineto":88,"description":"Close an open object database."},"git_reference_oid":{"return":{"type":"const git_oid *","comment":"a pointer to the oid if available, NULL otherwise"},"group":"reference","file":"refs.h","sig":"git_reference *","comments":"Only available if the reference is direct (i.e. not symbolic)","argline":"git_reference *ref","line":54,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Get the OID pointed to by a reference.\n\n Only available if the reference is direct (i.e. not symbolic)\n\n @param ref The reference\n @return a pointer to the oid if available, NULL otherwise\n\n","lineto":62,"description":"Get the OID pointed to by a reference."},"git_tree_entry_set_id":{"return":{"type":"void","comment":""},"group":"tree","file":"tree.h","sig":"git_tree_entry *::const git_oid *","comments":"This will mark the tree that contains the entry as modified;\n the modified entry will be written back to disk on the next git_object_write()","argline":"git_tree_entry *entry, const git_oid *oid","line":217,"args":[{"type":"git_tree_entry *","comment":"Entry object which will be modified","name":"entry"},{"type":"const git_oid *","comment":"new SHA1 oid for the entry","name":"oid"}],"rawComments":"\n Change the SHA1 id of a tree entry.\n\n This will mark the tree that contains the entry as modified;\n the modified entry will be written back to disk on the next git_object_write()\n\n @param entry Entry object which will be modified\n @param oid new SHA1 oid for the entry\n\n","lineto":226,"description":"Change the SHA1 id of a tree entry."},"git_tree_sort_entries":{"return":{"type":"int","comment":"0 on success; otherwise error code"},"group":"tree","file":"tree.h","sig":"git_tree *","comments":"This does not mark the tree as modified. It is intended to be used\n after several invocations of git_tree_add_entry2.\n git_tree_add_entry, on the other hand, sorts after each entry is\n added.","argline":"git_tree *tree","line":168,"args":[{"type":"git_tree *","comment":"Tree object whose entries are to be sorted","name":"tree"}],"rawComments":"\n Sort the entries in a tree created using git_tree_add_entry2.\n\n This does not mark the tree as modified. It is intended to be used\n after several invocations of git_tree_add_entry2.\n git_tree_add_entry, on the other hand, sorts after each entry is\n added.\n\n @param tree Tree object whose entries are to be sorted\n @return 0 on success; otherwise error code\n\n","lineto":179,"description":"Sort the entries in a tree created using git_tree_add_entry2."},"git_tree_entry_byname":{"return":{"type":"git_tree_entry *","comment":"the tree entry; NULL if not found"},"group":"tree","file":"tree.h","sig":"git_tree *::const char *","comments":"","argline":"git_tree *tree, const char *filename","line":88,"args":[{"type":"git_tree *","comment":"a previously loaded tree.","name":"tree"},{"type":"const char *","comment":"the filename of the desired entry","name":"filename"}],"rawComments":"\n Lookup a tree entry by its filename\n @param tree a previously loaded tree.\n @param filename the filename of the desired entry\n @return the tree entry; NULL if not found\n\n","lineto":94,"description":"Lookup a tree entry by its filename"},"git_index_free":{"return":{"type":"void","comment":""},"group":"index","file":"index.h","sig":"git_index *","comments":"","argline":"git_index *index","line":108,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"}],"rawComments":"\n Free an existing index object.\n\n @param index an existing index object\n\n","lineto":113,"description":"Free an existing index object."},"git_odb_backend_sqlite":{"return":{"type":"int","comment":""},"group":"odb","file":"odb_backend.h","sig":"git_odb_backend **::const char *","comments":"","argline":"git_odb_backend **backend_out, const char *sqlite_db","line":73,"args":[{"type":"git_odb_backend **","comment":"","name":"backend_out"},{"type":"const char *","comment":"","name":"sqlite_db"}],"rawComments":"","lineto":73,"description":""},"git_tree_lookup":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"tree","file":"tree.h","sig":"git_tree **::git_repository *::const git_oid *","comments":"","argline":"git_tree **tree, git_repository *repo, const git_oid *id","line":42,"args":[{"type":"git_tree **","comment":"pointer to the looked up tree","name":"tree"},{"type":"git_repository *","comment":"the repo to use when locating the tree.","name":"repo"},{"type":"const git_oid *","comment":"identity of the tree to locate.","name":"id"}],"rawComments":"\n Lookup a tree object from the repository.\n The generated tree object is owned by the revision\n repo and shall not be freed by the user.\n\n @param tree pointer to the looked up tree\n @param repo the repo to use when locating the tree.\n @param id identity of the tree to locate.\n @return 0 on success; error code otherwise\n\n","lineto":55,"description":"Lookup a tree object from the repository. The generated tree object is owned by the revision repo and shall not be freed by the user."},"git_tag_set_name":{"return":{"type":"void","comment":""},"group":"tag","file":"tag.h","sig":"git_tag *::const char *","comments":"","argline":"git_tag *tag, const char *name","line":122,"args":[{"type":"git_tag *","comment":"The tag to modify","name":"tag"},{"type":"const char *","comment":"the new name for the tag","name":"name"}],"rawComments":"\n Set the name of a tag\n @param tag The tag to modify\n @param name the new name for the tag\n\n","lineto":127,"description":"Set the name of a tag"},"git_repository_lookup_ref":{"return":{"type":"int","comment":"a reference to the reference"},"group":"repository","file":"repository.h","sig":"git_reference **::git_repository *::const char *","comments":"The generated reference is owned by the repository and\n should not be freed by the user.\n\n TODO:\n\t- Ensure the reference name is valid","argline":"git_reference **reference_out, git_repository *repo, const char *name","line":221,"args":[{"type":"git_reference **","comment":"pointer to the looked-up reference","name":"reference_out"},{"type":"git_repository *","comment":"the repository to look up the reference","name":"repo"},{"type":"const char *","comment":"the long name for the reference (e.g. HEAD, ref/heads/master, refs/tags/v0.1.0, ...)","name":"name"}],"rawComments":"\n Lookup a reference by its name in the repository.\n\n The generated reference is owned by the repository and\n should not be freed by the user.\n\n TODO:\n\t- Ensure the reference name is valid\n\n @param reference_out pointer to the looked-up reference\n @param repo the repository to look up the reference\n @param name the long name for the reference (e.g. HEAD, ref/heads/master, refs/tags/v0.1.0, ...)\n @return a reference to the reference\n\n","lineto":235,"description":"Lookup a reference by its name in the repository."},"git_signature_free":{"return":{"type":"void","comment":""},"group":"signature","file":"signature.h","sig":"git_signature *","comments":"@sig signature to free","argline":"git_signature *sig","line":61,"args":[{"type":"git_signature *","comment":"","name":"sig"}],"rawComments":"\n Free an existing signature\n\n @sig signature to free\n\n","lineto":66,"description":"Free an existing signature"},"git_object__size":{"return":{"type":"size_t","comment":"size in bytes of the object"},"group":"object","file":"object.h","sig":"git_otype","comments":"For all the core types, this would the equivalent\n of calling `sizeof(git_commit)` if the core types\n were not opaque on the external API.","argline":"git_otype type","line":129,"args":[{"type":"git_otype","comment":"object type to get its size","name":"type"}],"rawComments":"\n Get the size in bytes for the structure which\n acts as an in-memory representation of any given\n object type.\n\n For all the core types, this would the equivalent\n of calling `sizeof(git_commit)` if the core types\n were not opaque on the external API.\n\n @param type object type to get its size\n @return size in bytes of the object\n\n","lineto":141,"description":"Get the size in bytes for the structure which acts as an in-memory representation of any given object type."},"git_commit_message":{"return":{"type":"const char *","comment":"the message of a commit"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":88,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the full message of a commit.\n @param commit a previously loaded commit.\n @return the message of a commit\n\n","lineto":93,"description":"Get the full message of a commit."},"git_commit_set_committer":{"return":{"type":"void","comment":""},"group":"commit","file":"commit.h","sig":"git_commit *::const git_signature *","comments":"","argline":"git_commit *commit, const git_signature *committer_sig","line":161,"args":[{"type":"git_commit *","comment":"the commit object","name":"commit"},{"type":"const git_signature *","comment":"","name":"committer_sig"}],"rawComments":"\n Set the committer of a commit\n @param commit the commit object\n @param author_sig signature of the committer\n\n","lineto":166,"description":"Set the committer of a commit @param author_sig signature of the committer"},"git_index_get":{"return":{"type":"git_index_entry *","comment":"a pointer to the entry; NULL if out of bounds"},"group":"index","file":"index.h","sig":"git_index *::int","comments":"This entry can be modified, and the changes will be written\n back to disk on the next write() call.","argline":"git_index *index, int n","line":175,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"},{"type":"int","comment":"the position of the entry","name":"n"}],"rawComments":"\n Get a pointer to one of the entries in the index\n\n This entry can be modified, and the changes will be written\n back to disk on the next write() call.\n\n @param index an existing index object\n @param n the position of the entry\n @return a pointer to the entry; NULL if out of bounds\n\n","lineto":185,"description":"Get a pointer to one of the entries in the index"},"git_tag_set_message":{"return":{"type":"void","comment":""},"group":"tag","file":"tag.h","sig":"git_tag *::const char *","comments":"","argline":"git_tag *tag, const char *message","line":136,"args":[{"type":"git_tag *","comment":"The tag to modify","name":"tag"},{"type":"const char *","comment":"the new tagger for the tag","name":"message"}],"rawComments":"\n Set the message of a tag\n @param tag The tag to modify\n @param message the new tagger for the tag\n\n","lineto":141,"description":"Set the message of a tag"},"git_tag_id":{"return":{"type":"const git_oid *","comment":"object identity for the tag."},"group":"tag","file":"tag.h","sig":"git_tag *","comments":"","argline":"git_tag *tag","line":73,"args":[{"type":"git_tag *","comment":"a previously loaded tag.","name":"tag"}],"rawComments":"\n Get the id of a tag.\n @param tag a previously loaded tag.\n @return object identity for the tag.\n\n","lineto":78,"description":"Get the id of a tag."},"git_commit_add_parent":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"commit","file":"commit.h","sig":"git_commit *::git_commit *","comments":"","argline":"git_commit *commit, git_commit *new_parent","line":146,"args":[{"type":"git_commit *","comment":"the commit object","name":"commit"},{"type":"git_commit *","comment":"the new commit which will be a parent","name":"new_parent"}],"rawComments":"\n Add a new parent commit to an existing commit\n @param commit the commit object\n @param new_parent the new commit which will be a parent\n @return 0 on success; error code otherwise\n\n","lineto":152,"description":"Add a new parent commit to an existing commit"},"git_tree_id":{"return":{"type":"const git_oid *","comment":"object identity for the tree."},"group":"tree","file":"tree.h","sig":"git_tree *","comments":"","argline":"git_tree *tree","line":73,"args":[{"type":"git_tree *","comment":"a previously loaded tree.","name":"tree"}],"rawComments":"\n Get the id of a tree.\n @param tree a previously loaded tree.\n @return object identity for the tree.\n\n","lineto":78,"description":"Get the id of a tree."},"git_tree_entry_set_name":{"return":{"type":"void","comment":""},"group":"tree","file":"tree.h","sig":"git_tree_entry *::const char *","comments":"This will mark the tree that contains the entry as modified;\n the modified entry will be written back to disk on the next git_object_write()\n\n @param oid new filename for the entry","argline":"git_tree_entry *entry, const char *name","line":228,"args":[{"type":"git_tree_entry *","comment":"Entry object which will be modified","name":"entry"},{"type":"const char *","comment":"","name":"name"}],"rawComments":"\n Change the filename of a tree entry.\n\n This will mark the tree that contains the entry as modified;\n the modified entry will be written back to disk on the next git_object_write()\n\n @param entry Entry object which will be modified\n @param oid new filename for the entry\n\n","lineto":237,"description":"Change the filename of a tree entry."},"git_tree_remove_entry_byindex":{"return":{"type":"int","comment":"0 on successful removal; GIT_ENOTFOUND if the entry wasn't found"},"group":"tree","file":"tree.h","sig":"git_tree *::int","comments":"Index must be >= 0 and < than git_tree_entrycount().\n\n This will mark the tree as modified; the modified entry will\n be written back to disk on the next git_object_write()","argline":"git_tree *tree, int idx","line":181,"args":[{"type":"git_tree *","comment":"Tree where to remove the entry","name":"tree"},{"type":"int","comment":"index of the entry","name":"idx"}],"rawComments":"\n Remove an entry by its index.\n\n Index must be >= 0 and < than git_tree_entrycount().\n\n This will mark the tree as modified; the modified entry will\n be written back to disk on the next git_object_write()\n\n @param tree Tree where to remove the entry\n @param idx index of the entry\n @return 0 on successful removal; GIT_ENOTFOUND if the entry wasn't found\n\n","lineto":193,"description":"Remove an entry by its index."},"git_tree_entry_name":{"return":{"type":"const char *","comment":"the name of the file"},"group":"tree","file":"tree.h","sig":"git_tree_entry *","comments":"","argline":"git_tree_entry *entry","line":111,"args":[{"type":"git_tree_entry *","comment":"a tree entry","name":"entry"}],"rawComments":"\n Get the filename of a tree entry\n @param entry a tree entry\n @return the name of the file\n\n","lineto":116,"description":"Get the filename of a tree entry"},"git_tree_entry_attributes":{"return":{"type":"unsigned int","comment":"attributes as an integer"},"group":"tree","file":"tree.h","sig":"git_tree_entry *","comments":"","argline":"git_tree_entry *entry","line":104,"args":[{"type":"git_tree_entry *","comment":"a tree entry","name":"entry"}],"rawComments":"\n Get the UNIX file attributes of a tree entry\n @param entry a tree entry\n @return attributes as an integer\n\n","lineto":109,"description":"Get the UNIX file attributes of a tree entry"},"git_index_add":{"return":{"type":"int","comment":"0 on success, otherwise an error code"},"group":"index","file":"index.h","sig":"git_index *::const char *::int","comments":"","argline":"git_index *index, const char *path, int stage","line":143,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"},{"type":"const char *","comment":"filename to add","name":"path"},{"type":"int","comment":"stage for the entry","name":"stage"}],"rawComments":"\n Add or update an index entry from a file in disk.\n\n @param index an existing index object\n @param path filename to add\n @param stage stage for the entry\n @return 0 on success, otherwise an error code\n\n","lineto":151,"description":"Add or update an index entry from a file in disk."},"git_index_read":{"return":{"type":"int","comment":"0 on success, otherwise an error code"},"group":"index","file":"index.h","sig":"git_index *","comments":"","argline":"git_index *index","line":115,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"}],"rawComments":"\n Update the contents of an existing index object in memory\n by reading from the hard disk.\n\n @param index an existing index object\n @return 0 on success, otherwise an error code\n\n","lineto":122,"description":"Update the contents of an existing index object in memory by reading from the hard disk."},"git_signature_new":{"return":{"type":"git_signature *","comment":"the new sig, NULl on out of memory"},"group":"signature","file":"signature.h","sig":"const char *::const char *::time_t::int","comments":"@name name of the person\n @email email of the person\n @time time when the action happened\n @offset timezone offset in minutes for the time","argline":"const char *name, const char *email, time_t time, int offset","line":40,"args":[{"type":"const char *","comment":"","name":"name"},{"type":"const char *","comment":"","name":"email"},{"type":"time_t","comment":"","name":"time"},{"type":"int","comment":"","name":"offset"}],"rawComments":"\n Create a new action signature. The signature must be freed\n manually or using git_signature_free\n\n @name name of the person\n @email email of the person\n @time time when the action happened\n @offset timezone offset in minutes for the time\n @return the new sig, NULl on out of memory\n\n","lineto":50,"description":"Create a new action signature. The signature must be freed manually or using git_signature_free"},"git_tree_entry_byindex":{"return":{"type":"git_tree_entry *","comment":"the tree entry; NULL if not found"},"group":"tree","file":"tree.h","sig":"git_tree *::int","comments":"","argline":"git_tree *tree, int idx","line":96,"args":[{"type":"git_tree *","comment":"a previously loaded tree.","name":"tree"},{"type":"int","comment":"the position in the entry list","name":"idx"}],"rawComments":"\n Lookup a tree entry by its position in the tree\n @param tree a previously loaded tree.\n @param idx the position in the entry list\n @return the tree entry; NULL if not found\n\n","lineto":102,"description":"Lookup a tree entry by its position in the tree"},"git_reference_resolve":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"reference","file":"refs.h","sig":"git_reference **::git_reference *","comments":"Thie method iteratively peels a symbolic reference\n until it resolves to a direct reference to an OID.\n\n If a direct reference is passed as an argument,\n that reference is returned immediately","argline":"git_reference **resolved_ref, git_reference *ref","line":92,"args":[{"type":"git_reference **","comment":"Pointer to the peeled reference","name":"resolved_ref"},{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Resolve a symbolic reference\n\n Thie method iteratively peels a symbolic reference\n until it resolves to a direct reference to an OID.\n\n If a direct reference is passed as an argument,\n that reference is returned immediately\n\n @param resolved_ref Pointer to the peeled reference\n @param ref The reference\n @return 0 on success; error code otherwise\n\n","lineto":105,"description":"Resolve a symbolic reference"},"git_blob_lookup":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"blob","file":"blob.h","sig":"git_blob **::git_repository *::const git_oid *","comments":"","argline":"git_blob **blob, git_repository *repo, const git_oid *id","line":42,"args":[{"type":"git_blob **","comment":"pointer to the looked up blob","name":"blob"},{"type":"git_repository *","comment":"the repo to use when locating the blob.","name":"repo"},{"type":"const git_oid *","comment":"identity of the blob to locate.","name":"id"}],"rawComments":"\n Lookup a blob object from a repository.\n The generated blob object is owned by the revision\n repo and shall not be freed by the user.\n\n @param blob pointer to the looked up blob\n @param repo the repo to use when locating the blob.\n @param id identity of the blob to locate.\n @return 0 on success; error code otherwise\n\n","lineto":55,"description":"Lookup a blob object from a repository. The generated blob object is owned by the revision repo and shall not be freed by the user."},"git_revwalk_push":{"return":{"type":"int","comment":""},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk *::git_commit *","comments":"@param walker the walker being used for the traversal.","argline":"git_revwalk *walk, git_commit *commit","line":84,"args":[{"type":"git_revwalk *","comment":"","name":"walk"},{"type":"git_commit *","comment":"the commit to start from.","name":"commit"}],"rawComments":"\n Mark a commit to start traversal from.\n The commit object must belong to the repo which is being walked through.\n\n @param walker the walker being used for the traversal.\n @param commit the commit to start from.\n\n","lineto":91,"description":"Mark a commit to start traversal from. The commit object must belong to the repo which is being walked through."},"git_commit_time":{"return":{"type":"time_t","comment":"the time of a commit"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":95,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the commit time (i.e. committer time) of a commit.\n @param commit a previously loaded commit.\n @return the time of a commit\n\n","lineto":100,"description":"Get the commit time (i.e. committer time) of a commit."},"git_commit_tree":{"return":{"type":"const git_tree *","comment":"the tree of a commit"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":123,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the tree pointed to by a commit.\n @param commit a previously loaded commit.\n @return the tree of a commit\n\n","lineto":128,"description":"Get the tree pointed to by a commit."},"git_commit_new":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"commit","file":"commit.h","sig":"git_commit **::git_repository *","comments":"The commit object must be manually filled using\n setter methods before it can be written to its\n repository.","argline":"git_commit **commit, git_repository *repo","line":58,"args":[{"type":"git_commit **","comment":"pointer to the new commit","name":"commit"},{"type":"git_repository *","comment":"The repository where the object will reside","name":"repo"}],"rawComments":"\n Create a new in-memory git_commit.\n\n The commit object must be manually filled using\n setter methods before it can be written to its\n repository.\n\n @param commit pointer to the new commit\n @param repo The repository where the object will reside\n @return 0 on success; error code otherwise\n\n","lineto":72,"description":"Create a new in-memory git_commit."},"git_tree_new":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"tree","file":"tree.h","sig":"git_tree **::git_repository *","comments":"The tree object must be manually filled using\n setter methods before it can be written to its\n repository.","argline":"git_tree **tree, git_repository *repo","line":57,"args":[{"type":"git_tree **","comment":"pointer to the new tree","name":"tree"},{"type":"git_repository *","comment":"The repository where the object will reside","name":"repo"}],"rawComments":"\n Create a new in-memory git_tree.\n\n The tree object must be manually filled using\n setter methods before it can be written to its\n repository.\n\n @param tree pointer to the new tree\n @param repo The repository where the object will reside\n @return 0 on success; error code otherwise\n\n","lineto":71,"description":"Create a new in-memory git_tree."},"git_commit_lookup":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"commit","file":"commit.h","sig":"git_commit **::git_repository *::const git_oid *","comments":"","argline":"git_commit **commit, git_repository *repo, const git_oid *id","line":42,"args":[{"type":"git_commit **","comment":"pointer to the looked up commit","name":"commit"},{"type":"git_repository *","comment":"the repo to use when locating the commit.","name":"repo"},{"type":"const git_oid *","comment":"identity of the commit to locate. If the object is an annotated tag it will be peeled back to the commit.","name":"id"}],"rawComments":"\n Lookup a commit object from a repository.\n The generated commit object is owned by the revision\n repo and shall not be freed by the user.\n\n @param commit pointer to the looked up commit\n @param repo the repo to use when locating the commit.\n @param id identity of the commit to locate. If the object is\n an annotated tag it will be peeled back to the commit.\n @return 0 on success; error code otherwise\n\n","lineto":56,"description":"Lookup a commit object from a repository. The generated commit object is owned by the revision repo and shall not be freed by the user."},"git_index_find":{"return":{"type":"int","comment":"an index >= 0 if found, -1 otherwise"},"group":"index","file":"index.h","sig":"git_index *::const char *","comments":"","argline":"git_index *index, const char *path","line":133,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"},{"type":"const char *","comment":"path to search","name":"path"}],"rawComments":"\n Find the first index of any entires which point to given\n path in the Git index.\n\n @param index an existing index object\n @param path path to search\n @return an index >= 0 if found, -1 otherwise\n\n","lineto":141,"description":"Find the first index of any entires which point to given path in the Git index."},"git_revwalk_new":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk **::git_repository *","comments":"","argline":"git_revwalk **walker, git_repository *repo","line":69,"args":[{"type":"git_revwalk **","comment":"pointer to the new revision walker","name":"walker"},{"type":"git_repository *","comment":"the repo to walk through","name":"repo"}],"rawComments":"\n Allocate a new revision walker to iterate through a repo.\n\n @param walker pointer to the new revision walker\n @param repo the repo to walk through\n @return 0 on success; error code otherwise\n\n","lineto":76,"description":"Allocate a new revision walker to iterate through a repo."},"git_tree_entrycount":{"return":{"type":"size_t","comment":"the number of entries in the tree"},"group":"tree","file":"tree.h","sig":"git_tree *","comments":"","argline":"git_tree *tree","line":81,"args":[{"type":"git_tree *","comment":"a previously loaded tree.","name":"tree"}],"rawComments":"\n Get the number of entries listed in a tree\n @param tree a previously loaded tree.\n @return the number of entries in the tree\n\n","lineto":86,"description":"Get the number of entries listed in a tree"},"git_reference_set_target":{"return":{"type":"void","comment":""},"group":"reference","file":"refs.h","sig":"git_reference *::const char *","comments":"This converts the reference into a symbolic\n reference.\n\n This marks the reference as modified; changes\n won't take effect until it is manually written back\n to disk.","argline":"git_reference *ref, const char *target","line":143,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"},{"type":"const char *","comment":"The new target for the reference","name":"target"}],"rawComments":"\n Set the target reference of a reference.\n\n This converts the reference into a symbolic\n reference.\n\n This marks the reference as modified; changes\n won't take effect until it is manually written back\n to disk.\n\n @param ref The reference\n @param target The new target for the reference\n\n","lineto":156,"description":"Set the target reference of a reference."},"git_object_free":{"return":{"type":"void","comment":""},"group":"object","file":"object.h","sig":"git_object *","comments":"Repository objects are managed automatically by the library,\n but this method can be used to force freeing one of the\n objects.\n\n Careful: freeing objects in the middle of a repository\n traversal will most likely cause errors.","argline":"git_object *object","line":87,"args":[{"type":"git_object *","comment":"the object to free","name":"object"}],"rawComments":"\n Free a reference to one of the objects in the repository.\n\n Repository objects are managed automatically by the library,\n but this method can be used to force freeing one of the\n objects.\n\n Careful: freeing objects in the middle of a repository\n traversal will most likely cause errors.\n\n @param object the object to free\n\n","lineto":99,"description":"Free a reference to one of the objects in the repository."},"git_index_write":{"return":{"type":"int","comment":"0 on success, otherwise an error code"},"group":"index","file":"index.h","sig":"git_index *","comments":"","argline":"git_index *index","line":124,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"}],"rawComments":"\n Write an existing index object from memory back to disk\n using an atomic file lock.\n\n @param index an existing index object\n @return 0 on success, otherwise an error code\n\n","lineto":131,"description":"Write an existing index object from memory back to disk using an atomic file lock."},"git_strerror":{"return":{"type":"const char *","comment":"a string explaining the error code"},"group":"errors","file":"errors.h","sig":"int","comments":"","argline":"int num","line":36,"args":[{"type":"int","comment":"The error code to explain","name":"num"}],"rawComments":"\n strerror() for the Git library\n @param num The error code to explain\n @return a string explaining the error code\n\n","lineto":41,"description":"strerror() for the Git library"},"git_odb_read":{"return":{"type":"int","comment":""},"group":"odb","file":"odb.h","sig":"git_rawobj *::git_odb *::const git_oid *","comments":"If GIT_ENOTFOUND then out->data is set to NULL.\n\n @return\n - GIT_SUCCESS if the object was read;\n - GIT_ENOTFOUND if the object is not in the database.","argline":"git_rawobj *out, git_odb *db, const git_oid *id","line":97,"args":[{"type":"git_rawobj *","comment":"object descriptor to populate upon reading.","name":"out"},{"type":"git_odb *","comment":"database to search for the object in.","name":"db"},{"type":"const git_oid *","comment":"identity of the object to read.","name":"id"}],"rawComments":"\n Read an object from the database.\n\n If GIT_ENOTFOUND then out->data is set to NULL.\n\n @param out object descriptor to populate upon reading.\n @param db database to search for the object in.\n @param id identity of the object to read.\n @return\n - GIT_SUCCESS if the object was read;\n - GIT_ENOTFOUND if the object is not in the database.\n\n","lineto":109,"description":"Read an object from the database."},"git_tag_lookup":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"tag","file":"tag.h","sig":"git_tag **::git_repository *::const git_oid *","comments":"","argline":"git_tag **tag, git_repository *repo, const git_oid *id","line":42,"args":[{"type":"git_tag **","comment":"pointer to the looked up tag","name":"tag"},{"type":"git_repository *","comment":"the repo to use when locating the tag.","name":"repo"},{"type":"const git_oid *","comment":"identity of the tag to locate.","name":"id"}],"rawComments":"\n Lookup a tag object from the repository.\n The generated tag object is owned by the revision\n repo and shall not be freed by the user.\n\n @param tag pointer to the looked up tag\n @param repo the repo to use when locating the tag.\n @param id identity of the tag to locate.\n @return 0 on success; error code otherwise\n\n","lineto":55,"description":"Lookup a tag object from the repository. The generated tag object is owned by the revision repo and shall not be freed by the user."},"git_reference_set_name":{"return":{"type":"void","comment":""},"group":"reference","file":"refs.h","sig":"git_reference *::const char *","comments":"This marks the reference as modified; changes\n won't take effect until it is manually written back\n to disk.","argline":"git_reference *ref, const char *name","line":131,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"},{"type":"const char *","comment":"The new name for the reference","name":"name"}],"rawComments":"\n Set the name of a reference.\n\n This marks the reference as modified; changes\n won't take effect until it is manually written back\n to disk.\n\n @param ref The reference\n @param name The new name for the reference\n\n","lineto":141,"description":"Set the name of a reference."},"git_blob_set_rawcontent":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"blob","file":"blob.h","sig":"git_blob *::const void *::size_t","comments":"","argline":"git_blob *blob, const void *buffer, size_t len","line":83,"args":[{"type":"git_blob *","comment":"pointer to the blob","name":"blob"},{"type":"const void *","comment":"buffer with the contents for the blob","name":"buffer"},{"type":"size_t","comment":"size of the buffer","name":"len"}],"rawComments":"\n Fill a blob with the contents inside\n the pointed buffer\n\n @param blob pointer to the blob\n @param buffer buffer with the contents for the blob\n @param len size of the buffer\n @return 0 on success; error code otherwise\n\n","lineto":92,"description":"Fill a blob with the contents inside the pointed buffer"},"git_reference_new":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"reference","file":"refs.h","sig":"git_reference **::git_repository *","comments":"The reference will be empty and exclusively\n in-memory until it is filled with the setter\n methods and written back to disk using\n `git_reference_write`.","argline":"git_reference **ref_out, git_repository *repo","line":40,"args":[{"type":"git_reference **","comment":"Pointer to the newly created reference","name":"ref_out"},{"type":"git_repository *","comment":"Repository where that reference exists","name":"repo"}],"rawComments":"\n Create a new reference.\n\n The reference will be empty and exclusively\n in-memory until it is filled with the setter\n methods and written back to disk using\n `git_reference_write`.\n\n @param ref_out Pointer to the newly created reference\n @param repo Repository where that reference exists\n @return 0 on success; error code otherwise\n\n","lineto":52,"description":"Create a new reference."},"git_reference_set_oid":{"return":{"type":"void","comment":""},"group":"reference","file":"refs.h","sig":"git_reference *::const git_oid *","comments":"This converts the reference into a direct\n reference.\n\n This marks the reference as modified; changes\n won't take effect until it is manually written back\n to disk.\n\n @param target The new target OID for the reference","argline":"git_reference *ref, const git_oid *id","line":158,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"},{"type":"const git_oid *","comment":"","name":"id"}],"rawComments":"\n Set the OID target of a reference.\n\n This converts the reference into a direct\n reference.\n\n This marks the reference as modified; changes\n won't take effect until it is manually written back\n to disk.\n\n @param ref The reference\n @param target The new target OID for the reference\n\n","lineto":171,"description":"Set the OID target of a reference."},"git_odb_read_header":{"return":{"type":"int","comment":""},"group":"odb","file":"odb.h","sig":"git_rawobj *::git_odb *::const git_oid *","comments":"Only the 'type' and 'len' fields of the git_rawobj structure\n are filled. The 'data' pointer will always be NULL.\n\n The raw object pointed by 'out' doesn't need to be manually\n closed with git_rawobj_close().\n\n @return\n - GIT_SUCCESS if the object was read;\n - GIT_ENOTFOUND if the object is not in the database.","argline":"git_rawobj *out, git_odb *db, const git_oid *id","line":111,"args":[{"type":"git_rawobj *","comment":"object descriptor to populate upon reading.","name":"out"},{"type":"git_odb *","comment":"database to search for the object in.","name":"db"},{"type":"const git_oid *","comment":"identity of the object to read.","name":"id"}],"rawComments":"\n Read the header of an object from the database, without\n reading its full contents.\n\n Only the 'type' and 'len' fields of the git_rawobj structure\n are filled. The 'data' pointer will always be NULL.\n\n The raw object pointed by 'out' doesn't need to be manually\n closed with git_rawobj_close().\n\n @param out object descriptor to populate upon reading.\n @param db database to search for the object in.\n @param id identity of the object to read.\n @return\n - GIT_SUCCESS if the object was read;\n - GIT_ENOTFOUND if the object is not in the database.\n\n","lineto":128,"description":"Read the header of an object from the database, without reading its full contents."},"git_reference_write":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"reference","file":"refs.h","sig":"git_reference *","comments":"The reference must have a valid name and a valid target\n (either direct or symbolic).\n\n If the reference has been loaded from disk and no changes\n have been made, no action will take place.\n\n The writing to disk is atomic.","argline":"git_reference *ref","line":107,"args":[{"type":"git_reference *","comment":"The reference","name":"ref"}],"rawComments":"\n Write a reference back to disk.\n\n The reference must have a valid name and a valid target\n (either direct or symbolic).\n\n If the reference has been loaded from disk and no changes\n have been made, no action will take place.\n\n The writing to disk is atomic.\n\n @param ref The reference\n @return 0 on success; error code otherwise\n\n","lineto":121,"description":"Write a reference back to disk."},"git_revwalk_next":{"return":{"type":"int","comment":"GIT_SUCCESS if the next commit was found; GIT_EREVWALKOVER if there are no commits left to iterate"},"group":"revwalk","file":"revwalk.h","sig":"git_commit **::git_revwalk *","comments":"","argline":"git_commit **commit, git_revwalk *walk","line":100,"args":[{"type":"git_commit **","comment":"Pointer where to store the next commit","name":"commit"},{"type":"git_revwalk *","comment":"the walker to pop the commit from.","name":"walk"}],"rawComments":"\n Get the next commit from the revision traversal.\n\n @param commit Pointer where to store the next commit\n @param walk the walker to pop the commit from.\n @return GIT_SUCCESS if the next commit was found;\n\tGIT_EREVWALKOVER if there are no commits left to iterate\n\n","lineto":108,"description":"Get the next commit from the revision traversal."},"git_tree_entry_set_attributes":{"return":{"type":"void","comment":""},"group":"tree","file":"tree.h","sig":"git_tree_entry *::int","comments":"This will mark the tree that contains the entry as modified;\n the modified entry will be written back to disk on the next git_object_write()\n\n @param oid new attributes for the entry","argline":"git_tree_entry *entry, int attr","line":239,"args":[{"type":"git_tree_entry *","comment":"Entry object which will be modified","name":"entry"},{"type":"int","comment":"","name":"attr"}],"rawComments":"\n Change the attributes of a tree entry.\n\n This will mark the tree that contains the entry as modified;\n the modified entry will be written back to disk on the next git_object_write()\n\n @param entry Entry object which will be modified\n @param oid new attributes for the entry\n\n","lineto":248,"description":"Change the attributes of a tree entry."},"git_index_open_bare":{"return":{"type":"int","comment":"0 on success; error code otherwise"},"group":"index","file":"index.h","sig":"git_index **::const char *","comments":"Since there is no ODB behind this index, any Index methods\n which rely on the ODB (e.g. index_add) will fail with the\n GIT_EBAREINDEX error code.","argline":"git_index **index, const char *index_path","line":74,"args":[{"type":"git_index **","comment":"the pointer for the new index","name":"index"},{"type":"const char *","comment":"the path to the index file in disk","name":"index_path"}],"rawComments":"\n Create a new Git index object as a memory representation\n of the Git index file in 'index_path', without a repository\n to back it.\n\n Since there is no ODB behind this index, any Index methods\n which rely on the ODB (e.g. index_add) will fail with the\n GIT_EBAREINDEX error code.\n\n @param index the pointer for the new index\n @param index_path the path to the index file in disk\n @return 0 on success; error code otherwise\n\n","lineto":87,"description":"Create a new Git index object as a memory representation of the Git index file in 'index_path', without a repository to back it."},"git_tree_entry_id":{"return":{"type":"const git_oid *","comment":"the oid of the object"},"group":"tree","file":"tree.h","sig":"git_tree_entry *","comments":"","argline":"git_tree_entry *entry","line":118,"args":[{"type":"git_tree_entry *","comment":"a tree entry","name":"entry"}],"rawComments":"\n Get the id of the object pointed by the entry\n @param entry a tree entry\n @return the oid of the object\n\n","lineto":123,"description":"Get the id of the object pointed by the entry"},"git_signature_dup":{"return":{"type":"git_signature *","comment":"a copy of sig, NULL on out of memory"},"group":"signature","file":"signature.h","sig":"const git_signature *","comments":"All internal strings are also duplicated.\n @sig signature to duplicated","argline":"const git_signature *sig","line":52,"args":[{"type":"const git_signature *","comment":"","name":"sig"}],"rawComments":"\n Create a copy of an existing signature.\n\n All internal strings are also duplicated.\n @sig signature to duplicated\n @return a copy of sig, NULL on out of memory\n\n","lineto":59,"description":"Create a copy of an existing signature."},"deflateBound":{"return":{"type":"size_t","comment":"maximum length of the compressed data."},"group":"zlib","file":"zlib.h","sig":"z_streamp::size_t","comments":"This is a stub function used when zlib does not supply the\n deflateBound() implementation itself.","argline":"z_streamp stream, size_t s","line":40,"args":[{"type":"z_streamp","comment":"the stream pointer.","name":"stream"},{"type":"size_t","comment":"total length of the source data (in bytes).","name":"s"}],"rawComments":"\n deflateBound returns an upper bound on the compressed size.\n\n This is a stub function used when zlib does not supply the\n deflateBound() implementation itself.\n\n @param stream the stream pointer.\n @param s total length of the source data (in bytes).\n @return maximum length of the compressed data.\n\n","lineto":53,"description":"deflateBound returns an upper bound on the compressed size."},"git_tree_clear_entries":{"return":{"type":"void","comment":""},"group":"tree","file":"tree.h","sig":"git_tree *","comments":"This will mark the tree as modified; the modified entry will\n be written back to disk on the next git_object_write().","argline":"git_tree *tree","line":207,"args":[{"type":"git_tree *","comment":"Tree object whose entries are to be sorted","name":"tree"}],"rawComments":"\n Clear all the entries in a tree.\n\n This will mark the tree as modified; the modified entry will\n be written back to disk on the next git_object_write().\n\n @param tree Tree object whose entries are to be sorted\n\n","lineto":215,"description":"Clear all the entries in a tree."},"git_revwalk_free":{"return":{"type":"void","comment":""},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk *","comments":"","argline":"git_revwalk *walk","line":119,"args":[{"type":"git_revwalk *","comment":"traversal handle to close. If NULL nothing occurs.","name":"walk"}],"rawComments":"\n Free a revwalk previously allocated.\n @param walk traversal handle to close. If NULL nothing occurs.\n\n","lineto":123,"description":"Free a revwalk previously allocated."},"git_revwalk_repository":{"return":{"type":"git_repository *","comment":"the repository being walked"},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk *","comments":"","argline":"git_revwalk *walk","line":125,"args":[{"type":"git_revwalk *","comment":"the revision walker","name":"walk"}],"rawComments":"\n Return the repository on which this walker\n is operating.\n\n @param walk the revision walker\n @return the repository being walked\n\n","lineto":132,"description":"Return the repository on which this walker is operating."},"git_commit_time_offset":{"return":{"type":"int","comment":"positive or negative timezone offset, in minutes from UTC"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":102,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the commit timezone offset (i.e. committer's preferred timezone) of a commit.\n @param commit a previously loaded commit.\n @return positive or negative timezone offset, in minutes from UTC\n\n","lineto":107,"description":"Get the commit timezone offset (i.e. committer's preferred timezone) of a commit."},"git_commit_author":{"return":{"type":"const git_signature *","comment":"the author of a commit"},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":116,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the author of a commit.\n @param commit a previously loaded commit.\n @return the author of a commit\n\n","lineto":121,"description":"Get the author of a commit."},"git_commit_set_message":{"return":{"type":"void","comment":""},"group":"commit","file":"commit.h","sig":"git_commit *::const char *","comments":"","argline":"git_commit *commit, const char *message","line":154,"args":[{"type":"git_commit *","comment":"the commit object","name":"commit"},{"type":"const char *","comment":"the new message","name":"message"}],"rawComments":"\n Set the message of a commit\n @param commit the commit object\n @param message the new message\n\n","lineto":159,"description":"Set the message of a commit"},"git_oid_cpy":{"return":{"type":"void","comment":""},"group":"oid","file":"oid.h","sig":"git_oid *::const git_oid *","comments":"","argline":"git_oid *out, const git_oid *src","line":120,"args":[{"type":"git_oid *","comment":"oid structure the result is written into.","name":"out"},{"type":"const git_oid *","comment":"oid structure to copy from.","name":"src"}],"rawComments":"\n Copy an oid from one structure to another.\n @param out oid structure the result is written into.\n @param src oid structure to copy from.\n\n","lineto":125,"description":"Copy an oid from one structure to another."},"git_tag_tagger":{"return":{"type":"const git_signature *","comment":"reference to the tag's author"},"group":"tag","file":"tag.h","sig":"git_tag *","comments":"","argline":"git_tag *t","line":101,"args":[{"type":"git_tag *","comment":"","name":"t"}],"rawComments":"\n Get the tagger (author) of a tag\n @param tag a previously loaded tag.\n @return reference to the tag's author\n\n","lineto":106,"description":"Get the tagger (author) of a tag @param tag a previously loaded tag."},"git_revwalk_sorting":{"return":{"type":"int","comment":""},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk *::unsigned int","comments":"","argline":"git_revwalk *walk, unsigned int sort_mode","line":110,"args":[{"type":"git_revwalk *","comment":"the walker being used for the traversal.","name":"walk"},{"type":"unsigned int","comment":"combination of GIT_RPSORT_XXX flags","name":"sort_mode"}],"rawComments":"\n Change the sorting mode when iterating through the\n repository's contents.\n Changing the sorting mode resets the walker.\n @param walk the walker being used for the traversal.\n @param sort_mode combination of GIT_RPSORT_XXX flags\n\n","lineto":117,"description":"Change the sorting mode when iterating through the repository's contents. Changing the sorting mode resets the walker."},"git_blob_rawsize":{"return":{"type":"int","comment":"size on bytes"},"group":"blob","file":"blob.h","sig":"git_blob *","comments":"","argline":"git_blob *blob","line":107,"args":[{"type":"git_blob *","comment":"pointer to the blob","name":"blob"}],"rawComments":"\n Get the size in bytes of the contents of a blob\n\n @param blob pointer to the blob\n @return size on bytes\n\n","lineto":113,"description":"Get the size in bytes of the contents of a blob"},"git_commit_id":{"return":{"type":"const git_oid *","comment":"object identity for the commit."},"group":"commit","file":"commit.h","sig":"git_commit *","comments":"","argline":"git_commit *commit","line":74,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"}],"rawComments":"\n Get the id of a commit.\n @param commit a previously loaded commit.\n @return object identity for the commit.\n\n","lineto":79,"description":"Get the id of a commit."},"git_tag_set_tagger":{"return":{"type":"void","comment":""},"group":"tag","file":"tag.h","sig":"git_tag *::const git_signature *","comments":"","argline":"git_tag *tag, const git_signature *tagger_sig","line":129,"args":[{"type":"git_tag *","comment":"The tag to modify","name":"tag"},{"type":"const git_signature *","comment":"signature of the tagging action","name":"tagger_sig"}],"rawComments":"\n Set the tagger of a tag\n @param tag The tag to modify\n @param tagger_sig signature of the tagging action\n\n","lineto":134,"description":"Set the tagger of a tag"},"git_odb_add_backend":{"return":{"type":"int","comment":"0 on sucess; error code otherwise"},"group":"odb","file":"odb.h","sig":"git_odb *::git_odb_backend *","comments":"Read <odb_backends.h> for more information.\n\n @paramm backend pointer to a git_odb_backend instance","argline":"git_odb *odb, git_odb_backend *backend","line":73,"args":[{"type":"git_odb *","comment":"database to add the backend to","name":"odb"},{"type":"git_odb_backend *","comment":"","name":"backend"}],"rawComments":"\n Add a custom backend to an existing Object DB\n\n Read <odb_backends.h> for more information.\n\n @param odb database to add the backend to\n @paramm backend pointer to a git_odb_backend instance\n @return 0 on sucess; error code otherwise\n\n","lineto":82,"description":"Add a custom backend to an existing Object DB"},"git_revwalk_hide":{"return":{"type":"int","comment":""},"group":"revwalk","file":"revwalk.h","sig":"git_revwalk *::git_commit *","comments":"","argline":"git_revwalk *walk, git_commit *commit","line":93,"args":[{"type":"git_revwalk *","comment":"","name":"walk"},{"type":"git_commit *","comment":"the commit that will be ignored during the traversal","name":"commit"}],"rawComments":"\n Mark a commit (and its ancestors) uninteresting for the output.\n @param walker the walker being used for the traversal.\n @param commit the commit that will be ignored during the traversal\n\n","lineto":98,"description":"Mark a commit (and its ancestors) uninteresting for the output. @param walker the walker being used for the traversal."},"git_commit_parent":{"return":{"type":"git_commit *","comment":"a pointer to the commit; NULL if out of bounds"},"group":"commit","file":"commit.h","sig":"git_commit *::unsigned int","comments":"","argline":"git_commit *commit, unsigned int n","line":138,"args":[{"type":"git_commit *","comment":"a previously loaded commit.","name":"commit"},{"type":"unsigned int","comment":"the position of the entry","name":"n"}],"rawComments":"\n Get the specified parent of the commit.\n @param commit a previously loaded commit.\n @param n the position of the entry\n @return a pointer to the commit; NULL if out of bounds\n\n","lineto":144,"description":"Get the specified parent of the commit."},"git_index_remove":{"return":{"type":"int","comment":"0 on success, otherwise an error code"},"group":"index","file":"index.h","sig":"git_index *::int","comments":"","argline":"git_index *index, int position","line":153,"args":[{"type":"git_index *","comment":"an existing index object","name":"index"},{"type":"int","comment":"position of the entry to remove","name":"position"}],"rawComments":"\n Remove an entry from the index\n\n @param index an existing index object\n @param position position of the entry to remove\n @return 0 on success, otherwise an error code\n\n","lineto":160,"description":"Remove an entry from the index"}},"files":[{"meta":{"defgroup":"git_blob Git blob load and write routines","ingroup":"Git","file":"git2/blob.h","brief":"Git blob load and write routines"},"lines":128,"file":"blob.h","functions":["git_blob_lookup","git_blob_new","git_blob_set_rawcontent_fromfile","git_blob_set_rawcontent","git_blob_rawcontent","git_blob_rawsize","git_blob_writefile"]},{"meta":{"defgroup":"git_commit Git commit parsing, formatting routines","ingroup":"Git","file":"git2/commit.h","brief":"Git commit parsing, formatting routines"},"lines":184,"file":"commit.h","functions":["git_commit_lookup","git_commit_new","git_commit_id","git_commit_message_short","git_commit_message","git_commit_time","git_commit_time_offset","git_commit_committer","git_commit_author","git_commit_tree","git_commit_parentcount","git_commit_parent","git_commit_add_parent","git_commit_set_message","git_commit_set_committer","git_commit_set_author","git_commit_set_tree"]},{"meta":{"defgroup":"git_common Git common platform definitions","ingroup":"Git","file":"git2/common.h","brief":"Git common platform definitions"},"lines":160,"file":"common.h","functions":["__attribute__","__attribute__"]},{"meta":{"defgroup":null,"ingroup":"Git","file":"git2/errors.h","brief":"Git error handling routines and variables"},"lines":45,"file":"errors.h","functions":["git_strerror"]},{"meta":{"defgroup":"git_index Git index parsing and manipulation routines","ingroup":"Git","file":"git2/index.h","brief":"Git index parsing and manipulation routines"},"lines":198,"file":"index.h","functions":["git_index_open_bare","git_index_open_inrepo","git_index_clear","git_index_free","git_index_read","git_index_write","git_index_find","git_index_add","git_index_remove","git_index_insert","git_index_get","git_index_entrycount"]},{"meta":{"defgroup":"git_object Git revision object management routines","ingroup":"Git","file":"git2/object.h","brief":"Git revision object management routines"},"lines":146,"file":"object.h","functions":["git_object_write","git_object_id","git_object_type","git_object_owner","git_object_free","git_object_typeisloose","git_object__size"]},{"meta":{"defgroup":"git_odb Git object database routines","ingroup":"Git","file":"git2/odb.h","brief":"Git object database routines"},"lines":184,"file":"odb.h","functions":["git_odb_new","git_odb_open","git_odb_add_backend","git_odb_close","git_odb_read","git_odb_read_header","git_odb_write","git_odb_exists","git_rawobj_hash","git_rawobj_close"]},{"meta":{"defgroup":"git_backend Git custom backend API","ingroup":"Git","file":"git2/backend.h","brief":"Git custom backend functions"},"lines":78,"file":"odb_backend.h","functions":["GIT_EXTERN","git_odb_backend_loose","git_odb_backend_sqlite"]},{"meta":{"defgroup":"git_oid Git object id routines","ingroup":"Git","file":"git2/oid.h","brief":"Git object id routines"},"lines":137,"file":"oid.h","functions":["git_oid_mkstr","git_oid_mkraw","git_oid_fmt","git_oid_pathfmt","git_oid_allocfmt","git_oid_to_string","git_oid_cpy","git_oid_cmp"]},{"meta":{"defgroup":"git_reference Git reference management routines","ingroup":"Git","file":"git2/refs.h","brief":"Git reference management routines"},"lines":175,"file":"refs.h","functions":["git_reference_new","git_reference_oid","git_reference_target","git_reference_type","git_reference_name","git_reference_resolve","git_reference_write","git_reference_owner","git_reference_set_name","git_reference_set_target","git_reference_set_oid"]},{"meta":{"defgroup":"git_repository Git repository management routines","ingroup":"Git","file":"git2/repository.h","brief":"Git repository management routines"},"lines":239,"file":"repository.h","functions":["git_repository_open","git_repository_lookup","git_repository_database","git_repository_index","git_repository_newobject","git_repository_free","git_repository_init","git_repository_lookup_ref"]},{"meta":{"defgroup":"git_revwalk Git revision traversal routines","ingroup":"Git","file":"git2/revwalk.h","brief":"Git revision traversal routines"},"lines":136,"file":"revwalk.h","functions":["git_revwalk_new","git_revwalk_reset","git_revwalk_push","git_revwalk_hide","git_revwalk_next","git_revwalk_sorting","git_revwalk_free","git_revwalk_repository"]},{"meta":{"defgroup":"git_signature Git signature creation","ingroup":"Git","file":"git2/signature.h","brief":"Git signature creation"},"lines":70,"file":"signature.h","functions":["git_signature_new","git_signature_dup","git_signature_free"]},{"meta":{"defgroup":"git_tag Git tag management","ingroup":"Git","file":"git2/tag.h","brief":"Git tag parsing routines"},"lines":145,"file":"tag.h","functions":["git_tag_lookup","git_tag_new","git_tag_id","git_tag_target","git_tag_type","git_tag_name","git_tag_tagger","git_tag_message","git_tag_set_target","git_tag_set_name","git_tag_set_tagger","git_tag_set_message"]},{"meta":{"defgroup":null,"ingroup":null,"file":null,"brief":null},"lines":80,"file":"thread-utils.h","functions":[]},{"meta":{"defgroup":"git_tree Git tree parsing, loading routines","ingroup":"Git","file":"git2/tree.h","brief":"Git tree parsing, loading routines"},"lines":252,"file":"tree.h","functions":["git_tree_lookup","git_tree_new","git_tree_id","git_tree_entrycount","git_tree_entry_byname","git_tree_entry_byindex","git_tree_entry_attributes","git_tree_entry_name","git_tree_entry_id","git_tree_add_entry","git_tree_add_entry_unsorted","git_tree_sort_entries","git_tree_remove_entry_byindex","git_tree_remove_entry_byname","git_tree_clear_entries","git_tree_entry_set_id","git_tree_entry_set_name","git_tree_entry_set_attributes"]},{"meta":{"defgroup":null,"ingroup":"Git","file":"git2/types.h","brief":"libgit2 base & compatibility types"},"lines":151,"file":"types.h","functions":[]},{"meta":{"defgroup":"git_zlib Git data compression routines","ingroup":"Git","file":"git2/zlib.h","brief":"Git data compression routines"},"lines":58,"file":"zlib.h","functions":["deflateBound"]}],"prefix":"src/git2","globals":{"GIT_HAS_TLS":{"value":"1","file":"thread-utils.h","line":34},"GIT_SORT_TOPOLOGICAL":{"value":"(1 << 0)","file":"revwalk.h","line":53},"GIT_IDXENTRY_STAGEMASK":{"value":"(0x3000)","file":"index.h","line":41},"GIT_EREVWALKOVER":{"value":"(GIT_ERROR - 20)","file":"common.h","line":155},"GIT_ENOTOID":{"value":"(GIT_ERROR - 1)","file":"common.h","line":98},"GIT_SORT_NONE":{"value":"(0)","file":"revwalk.h","line":46},"GIT_OID_HEXSZ":{"value":"(GIT_OID_RAWSZ * 2)","file":"oid.h","line":44},"GIT_EINVALIDTYPE":{"value":"(GIT_ERROR - 8)","file":"common.h","line":119},"GIT_EOBJTYPE":{"value":"(GIT_ERROR - 5)","file":"common.h","line":110},"GIT_EINVALIDPATH":{"value":"(GIT_ERROR - 19)","file":"common.h","line":152},"GIT_HAS_PTHREAD":{"value":"1","file":"thread-utils.h","line":35},"GIT_OID_RAWSZ":{"value":"20","file":"oid.h","line":41},"GIT_ETOONESTEDSYMREF":{"value":"(GIT_ERROR - 17)","file":"common.h","line":146},"GIT_ERROR":{"value":"-1","file":"common.h","line":95},"GIT_EBUSY":{"value":"(GIT_ERROR - 13)","file":"common.h","line":134},"GIT_EOBJCORRUPTED":{"value":"(GIT_ERROR - 6)","file":"common.h","line":113},"GIT_EREFCORRUPTED":{"value":"(GIT_ERROR - 16)","file":"common.h","line":143},"GIT_EINVALIDREFNAME":{"value":"(GIT_ERROR - 15)","file":"common.h","line":140},"GIT_EBAREINDEX":{"value":"(GIT_ERROR - 14)","file":"common.h","line":137},"GIT_EMISSINGOBJDATA":{"value":"(GIT_ERROR - 9)","file":"common.h","line":122},"GIT_ENOMEM":{"value":"(GIT_ERROR - 3)","file":"common.h","line":104},"GIT_ENOTFOUND":{"value":"(GIT_ERROR - 2)","file":"common.h","line":101},"GIT_IDXENTRY_STAGESHIFT":{"value":"12","file":"index.h","line":44},"GIT_IDXENTRY_NAMEMASK":{"value":"(0x0fff)","file":"index.h","line":40},"GIT_SUCCESS":{"value":"0","file":"common.h","line":87},"GIT_EFLOCKFAIL":{"value":"(GIT_ERROR - 11)","file":"common.h","line":128},"GIT_EOSERR":{"value":"(GIT_ERROR - 4)","file":"common.h","line":107},"GIT_EPACKEDREFSCORRUPTED":{"value":"(GIT_ERROR - 18)","file":"common.h","line":149},"GIT_EZLIB":{"value":"(GIT_ERROR - 12)","file":"common.h","line":131},"GIT_EPACKCORRUPTED":{"value":"(GIT_ERROR - 10)","file":"common.h","line":125},"GIT_ENOTAREPO":{"value":"(GIT_ERROR - 7)","file":"common.h","line":116},"GIT_SORT_REVERSE":{"value":"(1 << 2)","file":"revwalk.h","line":67},"GIT_IDXENTRY_EXTENDED":{"value":"(0x4000)","file":"index.h","line":42},"GIT_SORT_TIME":{"value":"(1 << 1)","file":"revwalk.h","line":60},"GIT_IDXENTRY_VALID":{"value":"(0x8000)","file":"index.h","line":43}},"groups":[["GIT",["GIT_EXTERN"]],["blob",["git_blob_lookup","git_blob_new","git_blob_rawcontent","git_blob_rawsize","git_blob_set_rawcontent","git_blob_set_rawcontent_fromfile","git_blob_writefile"]],["commit",["git_commit_add_parent","git_commit_author","git_commit_committer","git_commit_id","git_commit_lookup","git_commit_message","git_commit_message_short","git_commit_new","git_commit_parent","git_commit_parentcount","git_commit_set_author","git_commit_set_committer","git_commit_set_message","git_commit_set_tree","git_commit_time","git_commit_time_offset","git_commit_tree"]],["errors",["git_strerror"]],["index",["git_index_add","git_index_clear","git_index_entrycount","git_index_find","git_index_free","git_index_get","git_index_insert","git_index_open_bare","git_index_open_inrepo","git_index_read","git_index_remove","git_index_write"]],["object",["git_object__size","git_object_free","git_object_id","git_object_owner","git_object_type","git_object_typeisloose","git_object_write"]],["odb",["git_odb_add_backend","git_odb_backend_loose","git_odb_backend_sqlite","git_odb_close","git_odb_exists","git_odb_new","git_odb_open","git_odb_read","git_odb_read_header","git_odb_write"]],["oid",["git_oid_allocfmt","git_oid_cmp","git_oid_cpy","git_oid_fmt","git_oid_mkraw","git_oid_mkstr","git_oid_pathfmt","git_oid_to_string"]],["rawobj",["git_rawobj_close","git_rawobj_hash"]],["reference",["git_reference_name","git_reference_new","git_reference_oid","git_reference_owner","git_reference_resolve","git_reference_set_name","git_reference_set_oid","git_reference_set_target","git_reference_target","git_reference_type","git_reference_write"]],["repository",["git_repository_database","git_repository_free","git_repository_index","git_repository_init","git_repository_lookup","git_repository_lookup_ref","git_repository_newobject","git_repository_open"]],["revwalk",["git_revwalk_free","git_revwalk_hide","git_revwalk_new","git_revwalk_next","git_revwalk_push","git_revwalk_repository","git_revwalk_reset","git_revwalk_sorting"]],["signature",["git_signature_dup","git_signature_free","git_signature_new"]],["tag",["git_tag_id","git_tag_lookup","git_tag_message","git_tag_name","git_tag_new","git_tag_set_message","git_tag_set_name","git_tag_set_tagger","git_tag_set_target","git_tag_tagger","git_tag_target","git_tag_type"]],["tree",["git_tree_add_entry","git_tree_add_entry_unsorted","git_tree_clear_entries","git_tree_entry_attributes","git_tree_entry_byindex","git_tree_entry_byname","git_tree_entry_id","git_tree_entry_name","git_tree_entry_set_attributes","git_tree_entry_set_id","git_tree_entry_set_name","git_tree_entrycount","git_tree_id","git_tree_lookup","git_tree_new","git_tree_remove_entry_byindex","git_tree_remove_entry_byname","git_tree_sort_entries"]],["zlib",["deflateBound"]]],"types":[["git_blob",{"type":"struct","value":"git_blob","file":"types.h","tdef":"typedef","line":111,"used":{"needs":["git_blob_lookup","git_blob_new","git_blob_rawcontent","git_blob_rawsize","git_blob_set_rawcontent","git_blob_set_rawcontent_fromfile"],"returns":[]}}],["git_commit",{"type":"struct","value":"git_commit","file":"types.h","tdef":"typedef","line":114,"used":{"needs":["git_commit_add_parent","git_commit_author","git_commit_committer","git_commit_id","git_commit_lookup","git_commit_message","git_commit_message_short","git_commit_new","git_commit_parent","git_commit_parentcount","git_commit_set_author","git_commit_set_committer","git_commit_set_message","git_commit_set_tree","git_commit_time","git_commit_time_offset","git_commit_tree","git_revwalk_hide","git_revwalk_next","git_revwalk_push"],"returns":["git_commit_parent"]}}],["git_index",{"type":"struct","value":"git_index","file":"types.h","tdef":"typedef","line":123,"used":{"needs":["git_index_add","git_index_clear","git_index_entrycount","git_index_find","git_index_free","git_index_get","git_index_insert","git_index_open_bare","git_index_open_inrepo","git_index_read","git_index_remove","git_index_write","git_repository_index"],"returns":[]}}],["git_index_entry",{"type":"struct","value":null,"file":"index.h","tdef":"typedef","line":54,"lineto":71,"used":{"needs":["git_index_insert"],"returns":["git_index_get"]},"block":"git_index_time ctime;\ngit_index_time mtime;\n\nunsigned int dev;\nunsigned int ino;\nunsigned int mode;\nunsigned int uid;\nunsigned int gid;\ngit_off_t file_size;\n\ngit_oid oid;\n\nunsigned short flags;\nunsigned short flags_extended;\n\nchar *path;\n"}],["git_index_time",{"type":"struct","value":null,"file":"index.h","tdef":"typedef","line":47,"lineto":51,"used":{"needs":[],"returns":[]},"block":"git_time_t seconds;\n/* nsec should not be stored as time_t compatible */\nunsigned int nanoseconds;\n"}],["git_object",{"type":"struct","value":"git_object","file":"types.h","tdef":"typedef","line":102,"used":{"needs":["git_object_free","git_object_id","git_object_owner","git_object_type","git_object_write","git_repository_lookup","git_repository_newobject","git_tag_set_target"],"returns":["git_tag_target"]}}],["git_odb",{"type":"struct","value":"git_odb","file":"types.h","tdef":"typedef","line":90,"used":{"needs":["git_odb_add_backend","git_odb_close","git_odb_exists","git_odb_new","git_odb_open","git_odb_read","git_odb_read_header","git_odb_write"],"returns":["git_repository_database"]}}],["git_odb_backend",{"type":"struct","value":"git_odb_backend","file":"types.h","tdef":"typedef","line":93,"used":{"needs":["GIT_EXTERN","git_odb_add_backend","git_odb_backend_loose","git_odb_backend_sqlite"],"returns":["GIT_EXTERN"]}}],["git_oid",{"type":"struct","value":null,"file":"oid.h","tdef":"typedef","line":47,"lineto":50,"used":{"needs":["git_blob_lookup","git_blob_writefile","git_commit_lookup","git_odb_exists","git_odb_read","git_odb_read_header","git_odb_write","git_oid_allocfmt","git_oid_cmp","git_oid_cpy","git_oid_fmt","git_oid_mkraw","git_oid_mkstr","git_oid_pathfmt","git_oid_to_string","git_rawobj_hash","git_reference_set_oid","git_repository_lookup","git_tag_lookup","git_tree_add_entry","git_tree_add_entry_unsorted","git_tree_entry_set_id","git_tree_lookup"],"returns":["git_commit_id","git_object_id","git_reference_oid","git_tag_id","git_tree_entry_id","git_tree_id"]},"block":"/** raw binary formatted id */\nunsigned char id[GIT_OID_RAWSZ];\n"}],["git_otype",{"type":"enum","value":null,"file":"types.h","tdef":"typedef","line":76,"lineto":87,"used":{"needs":["git_object__size","git_object_typeisloose","git_repository_lookup","git_repository_newobject"],"returns":[]},"block":"GIT_OBJ_ANY = -2,\t\t/**< Object can be any of the following */\nGIT_OBJ_BAD = -1, /**< Object is invalid. */\nGIT_OBJ__EXT1 = 0, /**< Reserved for future use. */\nGIT_OBJ_COMMIT = 1, /**< A commit object. */\nGIT_OBJ_TREE = 2, /**< A tree (directory listing) object. */\nGIT_OBJ_BLOB = 3, /**< A file revision object. */\nGIT_OBJ_TAG = 4, /**< An annotated tag object. */\nGIT_OBJ__EXT2 = 5, /**< Reserved for future use. */\nGIT_OBJ_OFS_DELTA = 6, /**< A delta, base is given by an offset. */\nGIT_OBJ_REF_DELTA = 7, /**< A delta, base is given by object id. */\n"}],["git_rawobj",{"type":"struct","value":null,"file":"odb.h","tdef":"typedef","line":91,"lineto":95,"used":{"needs":["git_odb_read","git_odb_read_header","git_odb_write","git_rawobj_close","git_rawobj_hash"],"returns":[]},"block":"void *data; /**< Raw, decompressed object data. */\nsize_t len; /**< Total number of bytes in data. */\ngit_otype type; /**< Type of this object. */\n"}],["git_reference",{"type":"struct","value":"git_reference","file":"types.h","tdef":"typedef","line":139,"used":{"needs":["git_reference_name","git_reference_new","git_reference_oid","git_reference_owner","git_reference_resolve","git_reference_set_name","git_reference_set_oid","git_reference_set_target","git_reference_target","git_reference_type","git_reference_write","git_repository_lookup_ref"],"returns":[]}}],["git_repository",{"type":"struct","value":"git_repository","file":"types.h","tdef":"typedef","line":99,"used":{"needs":["git_blob_lookup","git_blob_new","git_blob_writefile","git_commit_lookup","git_commit_new","git_index_open_inrepo","git_reference_new","git_repository_database","git_repository_free","git_repository_index","git_repository_init","git_repository_lookup","git_repository_lookup_ref","git_repository_newobject","git_repository_open","git_revwalk_new","git_tag_lookup","git_tag_new","git_tree_lookup","git_tree_new"],"returns":["git_object_owner","git_reference_owner","git_revwalk_repository"]}}],["git_revwalk",{"type":"struct","value":"git_revwalk","file":"types.h","tdef":"typedef","line":105,"used":{"needs":["git_revwalk_free","git_revwalk_hide","git_revwalk_new","git_revwalk_next","git_revwalk_push","git_revwalk_repository","git_revwalk_reset","git_revwalk_sorting"],"returns":[]}}],["git_rtype",{"type":"enum","value":null,"file":"types.h","tdef":"typedef","line":142,"lineto":146,"used":{"needs":[],"returns":[]},"block":"GIT_REF_INVALID = -1, /** Invalid reference */\nGIT_REF_OID = 1, /** A reference which points at an object id */\nGIT_REF_SYMBOLIC = 2, /** A reference which points at another reference */\n"}],["git_signature",{"type":"struct","value":null,"file":"types.h","tdef":"typedef","line":132,"lineto":136,"used":{"needs":["git_commit_set_author","git_commit_set_committer","git_signature_dup","git_signature_free","git_tag_set_tagger"],"returns":["git_commit_author","git_commit_committer","git_signature_dup","git_signature_new","git_tag_tagger"]},"block":"char *name; /** full name of the author */\nchar *email; /** email of the author */\ngit_time when; /** time when the action happened */\n"}],["git_tag",{"type":"struct","value":"git_tag","file":"types.h","tdef":"typedef","line":108,"used":{"needs":["git_tag_id","git_tag_lookup","git_tag_message","git_tag_name","git_tag_new","git_tag_set_message","git_tag_set_name","git_tag_set_tagger","git_tag_set_target","git_tag_tagger","git_tag_target","git_tag_type"],"returns":[]}}],["git_time",{"type":"struct","value":null,"file":"types.h","tdef":"typedef","line":126,"lineto":129,"used":{"needs":[],"returns":[]},"block":"time_t time; /** time in seconds from epoch */\nint offset; /** timezone offset, in minutes */\n"}],["git_tree",{"type":"struct","value":"git_tree","file":"types.h","tdef":"typedef","line":120,"used":{"needs":["git_commit_set_tree","git_tree_add_entry","git_tree_add_entry_unsorted","git_tree_clear_entries","git_tree_entry_byindex","git_tree_entry_byname","git_tree_entrycount","git_tree_id","git_tree_lookup","git_tree_new","git_tree_remove_entry_byindex","git_tree_remove_entry_byname","git_tree_sort_entries"],"returns":["git_commit_tree"]}}],["git_tree_entry",{"type":"struct","value":"git_tree_entry","file":"types.h","tdef":"typedef","line":117,"used":{"needs":["git_tree_add_entry","git_tree_add_entry_unsorted","git_tree_entry_attributes","git_tree_entry_id","git_tree_entry_name","git_tree_entry_set_attributes","git_tree_entry_set_id","git_tree_entry_set_name"],"returns":["git_tree_entry_byindex","git_tree_entry_byname"]}}]]} \ No newline at end of file