"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: fix identification of symlinks in directory listings
huangnauhcc20d93f472b
diff --git a/cmd/mount/dir.go b/cmd/mount/dir.goindex e32c9c941..ad657bc19 100644--- a/cmd/mount/dir.go+++ b/cmd/mount/dir.go@@ -130,6 +130,12 @@ func (d *Dir) ReadDirAll(ctx context.Context) (dirents []fuse.Dirent, err error)if node.IsDir() {dirent.Type = fuse.DT_Dir}+ switch node := node.(type) {+ case *vfs.File:+ if node.IsSymlink() {+ dirent.Type = fuse.DT_Link+ }+ }dirents = append(dirents, dirent)}itemsRead = len(dirents)