type io/fs.DirEntry
22 uses
io/fs (current package)
format.go#L60: func FormatDirEntry(dir DirEntry) string {
fs.go#L92: type DirEntry interface {
fs.go#L136: ReadDir(n int) ([]DirEntry, error)
readdir.go#L20: ReadDir(name string) ([]DirEntry, error)
readdir.go#L29: func ReadDir(fsys FS, name string) ([]DirEntry, error) {
readdir.go#L46: slices.SortFunc(list, func(a, b DirEntry) int {
readdir.go#L79: func FileInfoToDirEntry(info FileInfo) DirEntry {
sub.go#L90: func (f *subFS) ReadDir(name string) ([]DirEntry, error) {
walk.go#L69: type WalkDirFunc func(path string, d DirEntry, err error) error
walk.go#L72: func walkDir(fsys FS, name string, d DirEntry, walkDirFn WalkDirFunc) error {
crypto/x509
root_unix.go#L86: func readUniqueDirectoryEntries(dir string) ([]fs.DirEntry, error) {
root_unix.go#L102: func isSameDirSymlink(f fs.DirEntry, dir string) bool {
embed
embed.go#L215: _ fs.DirEntry = (*file)(nil)
embed.go#L304: func (f FS) ReadDir(name string) ([]fs.DirEntry, error) {
embed.go#L313: list := make([]fs.DirEntry, len(dir.files))
embed.go#L400: func (d *openDir) ReadDir(count int) ([]fs.DirEntry, error) {
embed.go#L411: list := make([]fs.DirEntry, n)
net/http
fs.go#L128: type dirEntryDirs []fs.DirEntry
fs.go#L909: func (f ioFile) ReadDir(count int) ([]fs.DirEntry, error) {
os
dir.go#L85: type DirEntry = fs.DirEntry
dir.go#L150: return fs.WalkDir(fsys, ".", func(path string, d fs.DirEntry, err error) error {
path/filepath
path.go#L309: func walkDir(path string, d fs.DirEntry, walkDirFn fs.WalkDirFunc) error {
 |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |