summaryrefslogtreecommitdiff
path: root/src/backup_run.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/backup_run.rs')
-rw-r--r--src/backup_run.rs13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/backup_run.rs b/src/backup_run.rs
index 3c03ec3..9667382 100644
--- a/src/backup_run.rs
+++ b/src/backup_run.rs
@@ -35,6 +35,7 @@ pub struct FsEntryBackupOutcome {
pub entry: FilesystemEntry,
pub ids: Vec<ChunkId>,
pub reason: Reason,
+ pub is_cachedir_tag: bool,
}
impl<'a> BackupRun<'a> {
@@ -154,7 +155,13 @@ impl<'a> BackupRun<'a> {
} else {
vec![]
};
- Ok(FsEntryBackupOutcome { entry, ids, reason })
+ // TODO: replace `false` with an actual value
+ Ok(FsEntryBackupOutcome {
+ entry,
+ ids,
+ reason,
+ is_cachedir_tag: false,
+ })
}
}
}
@@ -185,12 +192,16 @@ fn backup_file(
entry: entry.clone(),
ids: vec![],
reason: Reason::FileError,
+ // TODO: replace `false` with an actual value
+ is_cachedir_tag: false,
}
}
Ok(ids) => FsEntryBackupOutcome {
entry: entry.clone(),
ids,
reason,
+ // TODO: replace `false` with an actual value
+ is_cachedir_tag: false,
},
}
}