admin: Fix video route

This commit is contained in:
nemunaire 2022-05-23 01:39:35 +02:00
commit 4a190f51c5
8 changed files with 28 additions and 7 deletions

View file

@ -41,6 +41,11 @@ type Importer interface {
stat(filename string) (os.FileInfo, error)
}
// DirectAccessImporter abstracts importer that support direct file access through a local path
type DirectAccessImporter interface {
GetLocalPath(p ...string) string
}
// GlobalImporter stores the main importer instance to use for global imports.
var GlobalImporter Importer