Closed matiaslina closed 11 years ago
post links where it says it
first one here:
http://libgit2.github.com/libgit2/#HEAD/group/tree/git_tree_walk
second one right here:
https://github.com/libgit2/libgit2/blob/HEAD/include/git2/tree.h#L378
There is no automatic system that updates the api documentation. It is updated manually from time to time. I think that most of the time, @carlosmn takes care of that. Though there were many API changes recently as libgit2 is slowly heading toward a 1.0 release and it's winter holidays ...
I believe the documentation is correct for the last official release version (v0.17.0). As @scunz indicates, we have changed the API for the upcoming 1.0 release, but those changes are only present in the "development" branch. We will regenerate the docs when the new release goes out. Sorry for the confusion!
By the way, the rationale for changing the API signature is (a) use const as much as possible and (b) standardize argument order and naming, especially for functions like this that take a callback and payload. Our intent is that the high-level language bindings will all be adjusted for the API changes in coordination with the 1.0 release so hopefully this will not break most user's applications.
Russell Belfer notifications@github.com writes:
I believe the documentation is correct for the last official release version (v0.17.0). As @scunz indicates, we have changed the API for
It's not so much about the latest release, but when I last rebuilt and pushed the documentation.
I've pushed up a new version, which should be available on the site in a few minutes.
cmn
I have found that the api of git_tree_walk is in disorder.
Here's what says on the api.
And this is what says on the tree.h
Regards