diff options
| author | punkymaniac <punkymaniac@protonmail.ch> | 2021-06-02 14:49:33 +0200 |
|---|---|---|
| committer | punkymaniac <punkymaniac@protonmail.ch> | 2021-06-02 14:49:33 +0200 |
| commit | a2fa9a57728dddd1f69d9821d09f20c8305a1d92 (patch) | |
| tree | ace9e4ccf937d508831374f54fc7cf5d4adaf448 /include/git2/tree.h | |
| parent | eeacd234ef67b73f983ba64f4aa40c16085039dd (diff) | |
| download | libgit2-a2fa9a57728dddd1f69d9821d09f20c8305a1d92.tar.gz | |
Add some missing documentation about return value
Diffstat (limited to 'include/git2/tree.h')
| -rw-r--r-- | include/git2/tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/git2/tree.h b/include/git2/tree.h index d7545ace9..f2289fc7e 100644 --- a/include/git2/tree.h +++ b/include/git2/tree.h @@ -334,6 +334,7 @@ GIT_EXTERN(int) git_treebuilder_insert( * * @param bld Tree builder * @param filename Filename of the entry to remove + * @return 0 or an error code */ GIT_EXTERN(int) git_treebuilder_remove( git_treebuilder *bld, const char *filename); @@ -463,6 +464,7 @@ typedef struct { * @param baseline the tree to base these changes on * @param nupdates the number of elements in the update list * @param updates the list of updates to perform + * @return 0 or an error code */ GIT_EXTERN(int) git_tree_create_updated(git_oid *out, git_repository *repo, git_tree *baseline, size_t nupdates, const git_tree_update *updates); |
