This repository has been archived on 2024-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
|
package blefs
|
|
|
|
import "io/fs"
|
|
|
|
type goFS struct {
|
|
*FS
|
|
}
|
|
|
|
func (iofs goFS) Open(path string) (fs.File, error) {
|
|
return iofs.FS.Open(path)
|
|
}
|
|
|
|
func (blefs *FS) GoFS() fs.FS {
|
|
return goFS{blefs}
|
|
} |