Optimize transfers (#147)

* When the file is exchanged, all times attributes are set (if supported by the protocol)

* If local/remote file have the same last modification time (`mtime`), the file is not transferred
This commit is contained in:
Christian Visintin
2023-02-12 22:27:42 +01:00
committed by GitHub
parent 54aecdc478
commit 82330f870e
5 changed files with 149 additions and 42 deletions

View File

@@ -38,6 +38,7 @@ chrono = "^0.4"
content_inspector = "^0.2"
dirs = "^4.0"
edit = "^0.1"
filetime = "^0.2"
hostname = "^0.3"
keyring = { version = "^1.2", optional = true }
lazy-regex = "^2.4"