last modified property handled through http header on PUT rather than PROPPATCH (#438)

This commit is contained in:
Michael Quigley
2024-01-16 13:54:01 -05:00
parent b50f665c93
commit 21df875716
7 changed files with 74 additions and 4 deletions

View File

@@ -48,10 +48,7 @@ func OneWay(src, dst Target, sync bool) error {
if err != nil {
return err
}
if err := dst.WriteStream(copyPath.Path, ss, os.ModePerm); err != nil {
return err
}
if err := dst.SetModificationTime(copyPath.Path, copyPath.Modified); err != nil {
if err := dst.WriteStreamWithModTime(copyPath.Path, ss, os.ModePerm, copyPath.Modified); err != nil {
return err
}
}