This will return 0 (success) but set the output git_filter_list to null
if no filters are requested for the given file.
@param filters Output newly created git_filter_list (or null)
@param repo Repository object that contains path
@param blob The blob to which the filter will be applied (if known)
@param path Relative path of the file to be filtered
@param mode Filtering direction (WT->ODB or ODB->WT)
@param flags Combination of git_filter_flag_t flags
@return 0 on success (which could still return null if no filters are
needed for the requested file), <0 on error
Load the filter list for a given path.
This will return 0 (success) but set the output git_filter_list to null if no filters are requested for the given file.
@param filters Output newly created git_filter_list (or null) @param repo Repository object that contains path @param blob The blob to which the filter will be applied (if known) @param path Relative path of the file to be filtered @param mode Filtering direction (WT->ODB or ODB->WT) @param flags Combination of git_filter_flag_t flags @return 0 on success (which could still return null if no filters are needed for the requested file), <0 on error