type io/fs.FileInfo
30 uses
io/fs (current package)
format.go#L17: func FormatFileInfo(info FileInfo) string {
fs.go#L79: Stat() (FileInfo, error)
fs.go#L105: Info() (FileInfo, error)
fs.go#L151: type FileInfo interface {
readdir.go#L51: fileInfo FileInfo
readdir.go#L62: func (di dirInfo) Info() (FileInfo, error) {
readdir.go#L76: func FileInfoToDirEntry(info FileInfo) DirEntry {
stat.go#L13: Stat(name string) (FileInfo, error)
stat.go#L20: func Stat(fsys FS, name string) (FileInfo, error) {
walk.go#L131: info FileInfo
walk.go#L137: func (d *statDirEntry) Info() (FileInfo, error) { return d.info, nil }
io/ioutil
ioutil.go#L69: func ReadDir(dirname string) ([]fs.FileInfo, error) {
embed
embed.go#L227: _ fs.FileInfo = (*file)(nil)
embed.go#L237: func (f *file) Info() (fs.FileInfo, error) { return f, nil }
embed.go#L358: func (f *openFile) Stat() (fs.FileInfo, error) { return f.f, nil }
embed.go#L407: func (d *openDir) Stat() (fs.FileInfo, error) { return d.f, nil }
net/http
fs.go#L49: func mapOpenError(originalErr error, name string, sep rune, stat func(string) (fs.FileInfo, error)) error {
fs.go#L108: Readdir(count int) ([]fs.FileInfo, error)
fs.go#L109: Stat() (fs.FileInfo, error)
fs.go#L118: type fileInfoDirs []fs.FileInfo
fs.go#L778: return nil, mapOpenError(err, name, '/', func(path string) (fs.FileInfo, error) {
fs.go#L787: func (f ioFile) Stat() (fs.FileInfo, error) { return f.file.Stat() }
fs.go#L808: func (f ioFile) Readdir(count int) ([]fs.FileInfo, error) {
fs.go#L813: var list []fs.FileInfo
os
file.go#L678: func (dir dirFS) Stat(name string) (fs.FileInfo, error) {
types.go#L21: type FileInfo = fs.FileInfo
path/filepath
path.go#L436: type WalkFunc func(path string, info fs.FileInfo, err error) error
path.go#L475: func walk(path string, info fs.FileInfo, walkFn WalkFunc) error {
path.go#L541: info fs.FileInfo
path.go#L547: func (d *statDirEntry) Info() (fs.FileInfo, error) { return d.info, nil }
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |