archive/tar.Header.Typeflag (field)

38 uses

	archive/tar (current package)
		common.go#L152: 	Typeflag byte
		common.go#L446: 	switch h.Typeflag {
		common.go#L455: 		h2 := Header{Name: h.Name, Typeflag: h.Typeflag, Xattrs: h.Xattrs, PAXRecords: h.PAXRecords, Format: h.Format}
		common.go#L462: 	if !isHeaderOnlyType(h.Typeflag) && h.Size < 0 {
		common.go#L479: 			case h.Typeflag == TypeXGlobalHeader:
		common.go#L595: 	switch fi.h.Typeflag {
		common.go#L660: 		h.Typeflag = TypeReg
		common.go#L663: 		h.Typeflag = TypeDir
		common.go#L666: 		h.Typeflag = TypeSymlink
		common.go#L670: 			h.Typeflag = TypeChar
		common.go#L672: 			h.Typeflag = TypeBlock
		common.go#L675: 		h.Typeflag = TypeFifo
		common.go#L702: 		if sys.Typeflag == TypeLink {
		common.go#L704: 			h.Typeflag = TypeLink
		reader.go#L100: 		switch hdr.Typeflag {
		reader.go#L107: 			if hdr.Typeflag == TypeXGlobalHeader {
		reader.go#L111: 					Typeflag:   hdr.Typeflag,
		reader.go#L126: 			switch hdr.Typeflag {
		reader.go#L146: 			if hdr.Typeflag == TypeRegA {
		reader.go#L148: 					hdr.Typeflag = TypeDir // Legacy archives use trailing slash for directories
		reader.go#L150: 					hdr.Typeflag = TypeReg
		reader.go#L181: 	if isHeaderOnlyType(hdr.Typeflag) {
		reader.go#L198: 	if hdr.Typeflag == TypeGNUSparse {
		reader.go#L207: 		if isHeaderOnlyType(hdr.Typeflag) || !validateSparseEntries(spd, hdr.Size) {
		reader.go#L382: 	hdr.Typeflag = v7.typeFlag()[0]
		stat_unix.go#L54: 	if h.Typeflag == TypeChar || h.Typeflag == TypeBlock {
		writer.go#L78: 	if tw.hdr.Typeflag == TypeRegA {
		writer.go#L80: 			tw.hdr.Typeflag = TypeDir
		writer.go#L82: 			tw.hdr.Typeflag = TypeReg
		writer.go#L128: 	return tw.writeRawHeader(blk, hdr.Size, hdr.Typeflag)
		writer.go#L171: 	isGlobal := hdr.Typeflag == TypeXGlobalHeader
		writer.go#L212: 	if err := tw.writeRawHeader(blk, hdr.Size, hdr.Typeflag); err != nil {
		writer.go#L297: 	if err := tw.writeRawHeader(blk, hdr.Size, hdr.Typeflag); err != nil {
		writer.go#L332: 	v7.typeFlag()[0] = hdr.Typeflag

	go.pact.im/x/goship/internal/vcs
		helpers.go#L81: 		if hdr.Typeflag != tar.TypeReg {