Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datasource ¶
type DatasourceFS ¶
type DatasourceFS interface {
Open(name string) (File, error)
ReadDir(name string) ([]fs.DirEntry, error)
}
func GetFS ¶
func GetFS(datasource Datasource) (DatasourceFS, error)
type DuFS ¶
type DuFS struct {
DatasourceFS
// contains filtered or unexported fields
}
type FileKey ¶
type FileKey string
func BuildPreviewKey ¶
func BuildPreviewKey(datasource Datasource, file string) FileKey
type LocalFS ¶
type LocalFS struct {
DatasourceFS
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.