revert(blogo,plugins,emptysourcer): remove unused metadata

This commit is contained in:
Guz
2025-01-23 17:08:13 -03:00
parent 2834bdbe70
commit 657c0e36c2

View File

@@ -18,7 +18,6 @@ package plugins
import ( import (
"io/fs" "io/fs"
"forge.capytal.company/loreddev/x/blogo/metadata"
"forge.capytal.company/loreddev/x/blogo/plugin" "forge.capytal.company/loreddev/x/blogo/plugin"
) )
@@ -40,10 +39,6 @@ func (p *emptySourcer) Source() (fs.FS, error) {
type emptyFS struct{} type emptyFS struct{}
func (f emptyFS) Metadata() metadata.Metadata {
return metadata.Map(map[string]any{})
}
func (f emptyFS) Open(name string) (fs.File, error) { func (f emptyFS) Open(name string) (fs.File, error) {
return nil, fs.ErrNotExist return nil, fs.ErrNotExist
} }