diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-03-25 23:53:38 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-03-25 23:53:38 +0200 |
commit | 09e8de0f38ed8f28c02e5a3fa987cbb74e98a671 (patch) | |
tree | cc296d1beb507b92fc305a36ad1da8ec03e1535a /src/errors.c | |
parent | 051d6915d70e6fec597fe1bfdee2870561f523d1 (diff) | |
download | libgit2-09e8de0f38ed8f28c02e5a3fa987cbb74e98a671.tar.gz |
New external API method: `git_reference_listcb`
List all the references in the repository, calling a custom
callback for each one.
The listed references may be filtered by type, or using
a bitwise OR of several types. Use the magic value
`GIT_REF_LISTALL` to obtain all references, including
packed ones.
The `callback` function will be called for each of the references
in the repository, and will receive the name of the reference and
the `payload` value passed to this method.
Diffstat (limited to 'src/errors.c')
0 files changed, 0 insertions, 0 deletions