git_reference_foreach_glob

Perform a callback on each reference in the repository whose name matches the given pattern.

This function acts like git_reference_foreach() with an additional pattern match being applied to the reference name before issuing the callback function. See that function for more information.

The pattern is matched using fnmatch or "glob" style where a '*' matches any sequence of letters, a '?' matches any letter, and square brackets can be used to define character ranges (such as "[0-9]" for digits).

@param repo Repository where to find the refs @param glob Pattern to match (fnmatch-style) against reference name. @param callback Function which will be called for every listed ref @param payload Additional data to pass to the callback @return 0 on success, git_error_code.GIT_EUSER on non-zero callback, or error code

extern (C) nothrow @nogc
int
git_reference_foreach_glob

Meta