diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-05-04 18:06:14 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-05-11 11:20:38 +0200 |
commit | c58cac12c24fbb127cf1928bec20decb007a75e8 (patch) | |
tree | b41792fc37e70da0c456926aeb82f311dc3e000c /src/refdb.h | |
parent | 9bd89d962265b399b537e41058d40a6aeab00e64 (diff) | |
download | libgit2-c58cac12c24fbb127cf1928bec20decb007a75e8.tar.gz |
Introduce a glob-filtering iterator
If the backend doesn't provide support for it, the matching is done in
refdb on top of a normal iterator.
Diffstat (limited to 'src/refdb.h')
-rw-r--r-- | src/refdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/refdb.h b/src/refdb.h index e88dead7a..2edd05d18 100644 --- a/src/refdb.h +++ b/src/refdb.h @@ -27,6 +27,7 @@ int git_refdb_lookup( const char *ref_name); int git_refdb_iterator(git_reference_iterator **out, git_refdb *db); +int git_refdb_iterator_glob(git_reference_iterator **out, git_refdb *db, const char *glob); int git_refdb_next(const char **out, git_reference_iterator *iter); void git_refdb_iterator_free(git_reference_iterator *iter); |