Merge branch 'main' into v2

* main:
  feat(fs, config): add support for custom filesystem type construction (#9887)
  build(deps): update dependencies (#10020)
This commit is contained in:
Jakob Borg
2025-04-03 10:21:01 +02:00
14 changed files with 132 additions and 119 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ func (v external) Archive(filePath string) error {
}
context := map[string]string{
"%FOLDER_FILESYSTEM%": v.filesystem.Type().String(),
"%FOLDER_FILESYSTEM%": string(v.filesystem.Type()),
"%FOLDER_PATH%": v.filesystem.URI(),
"%FILE_PATH%": filePath,
}
+4 -2
View File
@@ -139,10 +139,12 @@ func TestCreateVersionPath(t *testing.T) {
}
folderCfg := config.FolderConfiguration{
ID: "default",
Path: tmpDir,
ID: "default",
FilesystemType: config.FilesystemTypeBasic,
Path: tmpDir,
Versioning: config.VersioningConfiguration{
Type: "staggered",
FSType: config.FilesystemTypeBasic,
FSPath: versionsDir,
},
}