revert(blogo,plugins,emptysourcer): remove unused metadata
This commit is contained in:
@@ -18,7 +18,6 @@ package plugins
|
||||
import (
|
||||
"io/fs"
|
||||
|
||||
"forge.capytal.company/loreddev/x/blogo/metadata"
|
||||
"forge.capytal.company/loreddev/x/blogo/plugin"
|
||||
)
|
||||
|
||||
@@ -40,10 +39,6 @@ func (p *emptySourcer) Source() (fs.FS, error) {
|
||||
|
||||
type emptyFS struct{}
|
||||
|
||||
func (f emptyFS) Metadata() metadata.Metadata {
|
||||
return metadata.Map(map[string]any{})
|
||||
}
|
||||
|
||||
func (f emptyFS) Open(name string) (fs.File, error) {
|
||||
return nil, fs.ErrNotExist
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user