"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
cmount: add tracing for *xattr FUSE callbacks
Nick Craig-Wood3f6186917992
diff --git a/cmd/cmount/fs.go b/cmd/cmount/fs.goindex 553712b16..c097611b7 100644--- a/cmd/cmount/fs.go+++ b/cmd/cmount/fs.go@@ -545,21 +545,25 @@ func (fsys *FS) Fsyncdir(path string, datasync bool, fh uint64) (errc int) {// Setxattr sets extended attributes.func (fsys *FS) Setxattr(path string, name string, value []byte, flags int) (errc int) {+ defer log.Trace(path, "name=%q, value=%q, flags=%d", name, value, flags)("errc=%d", &errc)return -fuse.ENOSYS}// Getxattr gets extended attributes.func (fsys *FS) Getxattr(path string, name string) (errc int, value []byte) {+ defer log.Trace(path, "name=%q", name)("errc=%d, value=%q", &errc, &value)return -fuse.ENOSYS, nil}// Removexattr removes extended attributes.func (fsys *FS) Removexattr(path string, name string) (errc int) {+ defer log.Trace(path, "name=%q", name)("errc=%d", &errc)return -fuse.ENOSYS}// Listxattr lists extended attributes.func (fsys *FS) Listxattr(path string, fill func(name string) bool) (errc int) {+ defer log.Trace(path, "fill=%p", fill)("errc=%d", &errc)return -fuse.ENOSYS}