allow not updating parent's date when cloning

This commit is contained in:
grimhilt
2023-07-13 00:21:37 +02:00
parent 5bc9ef0035
commit 2d4905f506
4 changed files with 10 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ impl PushChange for New {
let lastmodified = prop.lastmodified.unwrap().timestamp_millis();
// update blob
blob::add(obj.path.clone(), &lastmodified.to_string())?;
blob::add(obj.path.clone(), &lastmodified.to_string(), true)?;
// remove index
index::rm_line(obj.path.to_str().unwrap())?;