[][src]Function krill::commons::util::file::crawl_derive_rsync_uri

pub fn crawl_derive_rsync_uri(
    base_path: &PathBuf
) -> Result<Vec<CurrentFile>, Error>

Recurses a path on disk and returns all files found as ['CurrentFile'], deriving the rsync_base URI from the directory structure. This is useful when reading ['CurrentFile'] instances that were saved in some base directory as is done by the ['FileStore'].