Type Alias radicle_node::git::raw::IndexMatchedPath
source ยท pub type IndexMatchedPath<'a> = dyn FnMut(&Path, &[u8]) -> i32 + 'a;
Expand description
A callback function to filter index matches.
Used by Index::{add_all,remove_all,update_all}
. The first argument is the
path, and the second is the pathspec that matched it. Return 0 to confirm
the operation on the item, > 0 to skip the item, and < 0 to abort the scan.