Function split_found
Source fn split_found(
paths: &[String],
resolve: impl Fn(&str) -> ContainerPath,
exists: impl Fn(&ContainerPath) -> bool,
) -> (Vec<ContainerPath>, Vec<String>)
Expand description
Resolves paths into container paths, splitting out the ones that match no file.
§Arguments
paths - Paths to resolve.
resolve - Turns a path into a file or folder path.
exists - Returns if a container path matches any file.
§Returns
The container paths matching files, and the paths matching none.