summaryrefslogtreecommitdiff
path: root/src/errors.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-03-25 23:53:38 +0200
committerVicent Marti <tanoku@gmail.com>2011-03-25 23:53:38 +0200
commit09e8de0f38ed8f28c02e5a3fa987cbb74e98a671 (patch)
treecc296d1beb507b92fc305a36ad1da8ec03e1535a /src/errors.c
parent051d6915d70e6fec597fe1bfdee2870561f523d1 (diff)
downloadlibgit2-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