archive/tar.FileInfoNames.Name (method)
13 uses
archive/tar (current package)
common.go#L654: Name: fi.Name(),
archive/zip
reader.go#L977: } else if s.Name() == "." || !fs.ValidPath(s.Name()) {
struct.go#L211: Name: fi.Name(),
io/fs
format.go#L18: name := info.Name()
fs.go#L172: Name() string // base name of the file
readdir.go#L70: return di.fileInfo.Name()
io/ioutil
ioutil.go#L87: return strings.Compare(a.Name(), b.Name())
net/http
fs.go#L133: func (d fileInfoDirs) name(i int) string { return d[i].Name() }
fs.go#L763: serveContent(w, r, d.Name(), d.ModTime(), sizeFunc, f)
testing/fstest
testfs.go#L282: return fmt.Sprintf("%s IsDir=%v Type=%v", info.Name(), info.IsDir(), info.Mode().Type())
testfs.go#L287: return fmt.Sprintf("%s IsDir=%v Mode=%v Size=%d ModTime=%v", info.Name(), info.IsDir(), info.Mode(), info.Size(), info.ModTime())