commit 5a3026e52b5ad2cd63f25d7ffa8e8dfa1a899a8f from: Stefan Sperling date: Sun Dec 23 13:57:57 2018 UTC remove obsolete statements from API docs commit - ddf1c734917dc112c7e5d7e89b7600ea59ef4d8e commit + 5a3026e52b5ad2cd63f25d7ffa8e8dfa1a899a8f blob - dbace0ccd5992225eb6e06b3608667667ff43d3f blob + 04fbd077b6a362cdf09081d894dd539421e0a5a5 --- include/got_object.h +++ include/got_object.h @@ -102,7 +102,6 @@ got_object_resolve_id_str(struct got_object_id **, str /* * Attempt to open a commit object in a repository. - * The provided object must be of type GOT_OBJ_TYPE_COMMIT. * The caller must dispose of the commit with got_object_commit_close(). */ const struct got_error * @@ -145,7 +144,6 @@ const char *got_object_commit_get_logmsg(struct got_co /* * Attempt to open a tree object in a repository. - * The provided object must be of type GOT_OBJ_TYPE_TREE. * The caller must dispose of the tree with got_object_tree_close(). */ const struct got_error * @@ -170,7 +168,6 @@ const struct got_error *got_object_tree_path_changed(i /* * Attempt to open a blob object in a repository. - * The provided object must be of type GOT_OBJ_TYPE_BLOB. * The size_t argument specifies the block size of an associated read buffer. * The caller must dispose of the blob with got_object_blob_close(). */ @@ -214,7 +211,6 @@ const struct got_error *got_object_blob_dump_to_file(s /* * Attempt to open a tag object in a repository. - * The provided object must be of type GOT_OBJ_TYPE_TAG. * The caller must dispose of the tree with got_object_tag_close(). */ const struct got_error *got_object_open_as_tag(struct got_tag_object **,