feat: add SSO workspace, named shares and Debian release tooling

This commit is contained in:
SantaSpeen committed 2026-10-21 20:57:44 +03:00
1 parent 833d908884
commit 87bc33e675
106 files changed
+4160 -5637

No files matched your search

+3 -2
View File
@@ -4,6 +4,7 @@ import (
"os"
"path"
"path/filepath"
"strings"
"testing"
"github.com/spf13/afero"
@@ -41,9 +42,9 @@ func TestScopedFs(t *testing.T) {
if err := os.WriteFile(f, []byte("x"), 0o644); err != nil {
t.Fatal(err)
}
fs := NewScopedFs(afero.NewOsFs(), "/")
fs := NewScopedFs(afero.NewOsFs(), filepath.VolumeName(f)+string(filepath.Separator))
if _, err := fs.Stat(f); err != nil {
if _, err := fs.Stat(strings.TrimPrefix(f, filepath.VolumeName(f))); err != nil {
t.Fatalf("expected a path under root scope to be accessible, got %v", err)
}
})