pub fn delete_headers_recursively(
root: &Path,
path_predicate: impl Fn(&Path) -> bool,
header: Header<impl HeaderChecker>,
) -> Result<Vec<PathBuf>, DeleteHeadersRecursivelyError>
Expand description
Delete the provided header
from any file in root
that matches path_predicate
and that
already has a header as determined by header
’s checker.
Returns a list of paths that had headers removed.