[][src]Function revelio::scan_artifacts

pub fn scan_artifacts(root_path: &PathBuf, base_url: &str) -> ArtifactUrlMap

Recursively walk the given path to build a ArtifactUrlMap

If the given path is a file, it will be the only entry in the map. Otherwise, the directory will be recursively traversed to generate a flat map of path/hash key/value pairs.