type io/fs.FS
30 uses
io/fs (current package)
fs.go#L21: type FS interface {
glob.go#L13: FS
glob.go#L33: func Glob(fsys FS, pattern string) (matches []string, err error) {
glob.go#L89: func glob(fs FS, dir, pattern string, matches []string) (m []string, e error) {
readdir.go#L15: FS
readdir.go#L28: func ReadDir(fsys FS, name string) ([]DirEntry, error) {
readfile.go#L12: FS
readfile.go#L32: func ReadFile(fsys FS, name string) ([]byte, error) {
stat.go#L9: FS
stat.go#L20: func Stat(fsys FS, name string) (FileInfo, error) {
sub.go#L14: FS
sub.go#L17: Sub(dir string) (FS, error)
sub.go#L34: func Sub(fsys FS, dir string) (FS, error) {
sub.go#L48: fsys FS
sub.go#L129: func (f *subFS) Sub(dir string) (FS, error) {
walk.go#L65: func walkDir(fsys FS, name string, d DirEntry, walkDirFn WalkDirFunc) error {
walk.go#L107: func WalkDir(fsys FS, root string, fn WalkDirFunc) error {
go.pact.im/x/old/pgtxtar
pgtxtar.go#L20: func LoadFS(fsys fs.FS) ([]*migrations.Migration, error) {
html/template
template.go#L497: func ParseFS(fs fs.FS, patterns ...string) (*Template, error) {
template.go#L505: func (t *Template) ParseFS(fs fs.FS, patterns ...string) (*Template, error) {
template.go#L509: func parseFS(t *Template, fsys fs.FS, patterns []string) (*Template, error) {
template.go#L530: func readFileFS(fsys fs.FS) func(string) (string, []byte, error) {
net/http
fs.go#L747: fsys fs.FS
fs.go#L820: func FS(fsys fs.FS) FileSystem {
os
file.go#L626: func DirFS(dir string) fs.FS {
text/template
helper.go#L137: func ParseFS(fsys fs.FS, patterns ...string) (*Template, error) {
helper.go#L145: func (t *Template) ParseFS(fsys fs.FS, patterns ...string) (*Template, error) {
helper.go#L150: func parseFS(t *Template, fsys fs.FS, patterns []string) (*Template, error) {
helper.go#L171: func readFileFS(fsys fs.FS) func(string) (string, []byte, error) {