io/fs.DirEntry.Name (method)
20 uses
io/fs (current package)
format.go#L61: name := dir.Name()
fs.go#L97: Name() string
glob.go#L107: n := info.Name()
readdir.go#L47: return bytealg.CompareString(a.Name(), b.Name())
walk.go#L94: name1 := path.Join(name, d1.Name())
crypto/x509
root_unix.go#L70: data, err := os.ReadFile(directory + "/" + fi.Name())
root_unix.go#L106: target, err := os.Readlink(filepath.Join(dir, f.Name()))
go/build
build.go#L891: if ctxt.isDir(ctxt.joinPath(p.Dir, d.Name())) {
build.go#L897: name := d.Name()
build.go#L1301: if !ent.IsDir() && strings.HasSuffix(ent.Name(), ".go") {
go/parser
interface.go#L156: if d.IsDir() || !strings.HasSuffix(d.Name(), ".go") {
interface.go#L168: filename := filepath.Join(path, d.Name())
internal/goroot
gc.go#L28: if strings.HasSuffix(dirent.Name(), ".go") {
net/http
fs.go#L132: func (d dirEntryDirs) name(i int) string { return d[i].Name() }
os
dir.go#L127: return bytealg.CompareString(a.Name(), b.Name())
root.go#L283: return bytealg.CompareString(a.Name(), b.Name())
path/filepath
path.go#L331: path1 := Join(path, d1.Name())