archive/tar.Header.Name (field)
29 uses
archive/tar (current package)
common.go#L154: Name string // Name of file entry
common.go#L430: verifyString(h.Name, len(v7.name()), "Name", paxPath)
common.go#L449: if strings.HasSuffix(h.Name, "/") {
common.go#L455: h2 := Header{Name: h.Name, Typeflag: h.Typeflag, Xattrs: h.Xattrs, PAXRecords: h.PAXRecords, Format: h.Format}
common.go#L557: return path.Base(path.Clean(fi.h.Name))
common.go#L559: return path.Base(fi.h.Name)
common.go#L654: Name: fi.Name(),
common.go#L664: h.Name += "/"
reader.go#L61: if err == nil && !filepath.IsLocal(hdr.Name) {
reader.go#L110: Name: hdr.Name,
reader.go#L141: hdr.Name = gnuLongName
reader.go#L147: if strings.HasSuffix(hdr.Name, "/") {
reader.go#L240: hdr.Name = name
reader.go#L270: hdr.Name = v
reader.go#L383: hdr.Name = p.parseString(v7.name())
reader.go#L464: hdr.Name = prefix + "/" + hdr.Name
writer.go#L79: if strings.HasSuffix(tw.hdr.Name, "/") {
writer.go#L116: if prefix, suffix, ok := splitUSTARPath(hdr.Name); ok {
writer.go#L117: namePrefix, hdr.Name = prefix, suffix
writer.go#L132: realName, realSize := hdr.Name, hdr.Size
writer.go#L234: if len(hdr.Name) > nameSize {
writer.go#L235: data := hdr.Name + "\x00"
writer.go#L333: fmtStr(v7.name(), hdr.Name)
writer.go#L432: h.Name = name
writer.go#L434: h.Name += "/"
go.pact.im/x/goship/internal/vcs
helpers.go#L84: name := filepath.ToSlash(hdr.Name)