Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

minor

chrislu19d14b4c7160
diff --git a/weed/command/filer_sync.go b/weed/command/filer_sync.go
index c246f6b741..90204af4af 100644
--- a/weed/command/filer_sync.go
+++ b/weed/command/filer_sync.go
@@ -474,14 +474,14 @@ func genProcessFunction(sourcePath string, targetPath string, excludePaths []str
}
} else {
- // new key is outside of the watched directory
+ // new key is outside the watched directory
if doDeleteFiles {
key := buildKey(dataSink, message, targetPath, sourceOldKey, sourcePath)
return dataSink.DeleteEntry(key, message.OldEntry.IsDirectory, message.DeleteChunks, message.Signatures)
}
}
} else {
- // old key is outside of the watched directory
+ // old key is outside the watched directory
if strings.HasPrefix(string(sourceNewKey), sourcePath) {
// new key is in the watched directory
key := buildKey(dataSink, message, targetPath, sourceNewKey, sourcePath)
@@ -491,7 +491,7 @@ func genProcessFunction(sourcePath string, targetPath string, excludePaths []str
return nil
}
} else {
- // new key is also outside of the watched directory
+ // new key is also outside the watched directory
// skip
}
}