feat(fs, config): add support for custom filesystem type construction (#9887)

For Synctrain I would like to create a virtual filesystem that exposes
iOS' photo library. This can only be accessed through APIs.
This commit is contained in:
Tommy van der Vorst
2025-04-03 10:12:23 +02:00
committed by GitHub
parent f9007ed106
commit f15d50c2e8
12 changed files with 87 additions and 74 deletions
+3 -1
View File
@@ -111,6 +111,7 @@ func TestDefaultValues(t *testing.T) {
AutoNormalize: true,
MinDiskFree: size,
Versioning: VersioningConfiguration{
FSType: FilesystemTypeBasic,
CleanupIntervalS: 3600,
Params: map[string]string{},
},
@@ -520,7 +521,8 @@ func TestIssue1750(t *testing.T) {
func TestFolderPath(t *testing.T) {
folder := FolderConfiguration{
Path: "~/tmp",
FilesystemType: FilesystemTypeBasic,
Path: "~/tmp",
}
realPath := folder.Filesystem(nil).URI()