io/fs.FileInfo.Name (method)

14 uses

	io/fs (current package)
		fs.go#L151: 	Name() string       // base name of the file
		readdir.go#L67: 	return di.fileInfo.Name()
		walk.go#L124: func (d *statDirEntry) Name() string            { return d.info.Name() }

	io/ioutil
		ioutil.go#L68: 	sort.Slice(list, func(i, j int) bool { return list[i].Name() < list[j].Name() })

	github.com/go-pg/migrations/v8
		collection.go#L196: 	sort.Slice(files, func(i, j int) bool { return files[i].Name() < files[j].Name() })
		collection.go#L203: 		fileName := f.Name()

	go/build
		build.go#L839: 			if ctxt.isDir(ctxt.joinPath(p.Dir, d.Name())) {
		build.go#L845: 		name := d.Name()
		build.go#L1235: 		if !ent.IsDir() && strings.HasSuffix(ent.Name(), ".go") {

	net/http
		fs.go#L120: func (d fileInfoDirs) name(i int) string { return d[i].Name() }
		fs.go#L664: 	serveContent(w, r, d.Name(), d.ModTime(), sizeFunc, f)

	path/filepath
		path.go#L481: func (d *statDirEntry) Name() string               { return d.info.Name() }