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

pub fn save_with_rsync_uri(
    content: &Bytes,
    base_path: &PathBuf,
    uri: &Rsync
) -> Result<(), Error>

Saves a file under a base directory, using the rsync uri to create sub-directories preserving the rsync authority and module in dir names.