type io/fs.FS
35 uses
io/fs (current package)
fs.go#L27: type FS interface {
glob.go#L13: FS
glob.go#L33: func Glob(fsys FS, pattern string) (matches []string, err error) {
glob.go#L37: func globWithLimit(fsys FS, pattern string, depth int) (matches []string, err error) {
glob.go#L99: func glob(fs FS, dir, pattern string, matches []string) (m []string, e error) {
readdir.go#L16: FS
readdir.go#L29: 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#L72: func walkDir(fsys FS, name string, d DirEntry, walkDirFn WalkDirFunc) error {
walk.go#L117: func WalkDir(fsys FS, root string, fn WalkDirFunc) error {
html/template
template.go#L491: func ParseFS(fs fs.FS, patterns ...string) (*Template, error) {
template.go#L499: func (t *Template) ParseFS(fs fs.FS, patterns ...string) (*Template, error) {
template.go#L503: func parseFS(t *Template, fsys fs.FS, patterns []string) (*Template, error) {
template.go#L524: func readFileFS(fsys fs.FS) func(string) (string, []byte, error) {
net/http
filetransport.go#L49: func NewFileTransportFS(fsys fs.FS) RoundTripper {
fs.go#L840: func ServeFileFS(w ResponseWriter, r *Request, fsys fs.FS, name string) {
fs.go#L872: fsys fs.FS
fs.go#L946: func FS(fsys fs.FS) FileSystem {
fs.go#L976: func FileServerFS(root fs.FS) Handler {
os
dir.go#L152: func CopyFS(dir string, fsys fs.FS) error {
file.go#L705: func DirFS(dir string) fs.FS {
root.go#L246: func (r *Root) FS() fs.FS {
text/template
helper.go#L138: func ParseFS(fsys fs.FS, patterns ...string) (*Template, error) {
helper.go#L146: func (t *Template) ParseFS(fsys fs.FS, patterns ...string) (*Template, error) {
helper.go#L151: func parseFS(t *Template, fsys fs.FS, patterns []string) (*Template, error) {
helper.go#L172: func readFileFS(fsys fs.FS) func(string) (string, []byte, error) {