Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

yandex: correct precision to 1ns

Nick Craig-Woodcba27d292000
diff --git a/yandex/yandex.go b/yandex/yandex.go
index 7f3a0ea93..395cb2af8 100644
--- a/yandex/yandex.go
+++ b/yandex/yandex.go
@@ -370,7 +370,7 @@ func (f *Fs) purgeCheck(check bool) error {
// Precision return the precision of this Fs
func (f *Fs) Precision() time.Duration {
- return time.Second
+ return time.Nanosecond
}
// Purge deletes all the files and the container