Migrate all callers to unified filemanager.Service

Signed-off-by: Ludovic Vielle <ludovic@probo.com>
This commit is contained in:
Ludovic Vielle
2026-06-09 18:56:43 +02:00
parent 6f8af6f62e
commit b679107fa5
19 changed files with 41 additions and 52 deletions

View File

@@ -20,18 +20,18 @@ import (
"go.gearno.de/kit/pg"
"go.probo.inc/probo/pkg/coredata"
"go.probo.inc/probo/pkg/file"
"go.probo.inc/probo/pkg/filemanager"
"go.probo.inc/probo/pkg/gid"
)
type Service struct {
pg *pg.Client
file *file.Service
file *filemanager.Service
vetter Vetter
vettingEnabled bool
}
func NewService(pgClient *pg.Client, fileSvc *file.Service, vetter Vetter) *Service {
func NewService(pgClient *pg.Client, fileSvc *filemanager.Service, vetter Vetter) *Service {
_, disabled := vetter.(DisabledVetter)
return &Service{