"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
mount: add "." and ".." to directories to match cmount and expectations
Nick Craig-Woode45716cac2ab
diff --git a/cmd/mount/dir.go b/cmd/mount/dir.goindex 16263cf40..33ac660c2 100644--- a/cmd/mount/dir.go+++ b/cmd/mount/dir.go@@ -108,6 +108,13 @@ func (d *Dir) ReadDirAll(ctx context.Context) (dirents []fuse.Dirent, err error)if err != nil {return nil, translateError(err)}+ dirents = append(dirents, fuse.Dirent{+ Type: fuse.DT_Dir,+ Name: ".",+ }, fuse.Dirent{+ Type: fuse.DT_Dir,+ Name: "..",+ })for _, node := range items {name := node.Name()if len(name) > mountlib.MaxLeafSize {