# Function cargo::sources::path::list_files_walk

source ·

    fn list_files_walk(
        pkg: &Package,
        filter: &dyn Fn(&Path, bool) -> bool,
        gctx: &GlobalContext,
    ) -> CargoResult<Vec<PathBuf>>

Expand description

Lists files relevant to building this package inside this source by walking the filesystem from the package root path.

This is a fallback for `list_files_gix` when the package is not tracked under a Git repository.