INNER CODE UNIT · Rust

snapshot_paths

XayahSuSuSu/Android-DataBackup · source-next/native/src/main/jni/rustic/src/mapped_source.rs:170

    pub fn snapshot_paths(&self) -> Vec<PathBuf> {
        let mut paths: Vec<_> = self
            .roots
            .iter()
            .map(|root| root.destination.clone())
            .collect();
        paths.sort();
        paths
    }
}

impl ReadSource for MappedSource {
    type Open = <LocalSource as ReadSource>::Open;
    type Iter = Entries;

    fn size(&self) -> RusticResult<Option<u64>> {
        self.entries()
            .try_fold(0, |size, entry| {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…