- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for TypeRegA (0.51 sec)
-
src/archive/tar/writer.go
if err := tw.Flush(); err != nil { return err } tw.hdr = *hdr // Shallow copy of Header // Avoid usage of the legacy TypeRegA flag, and automatically promote // it to use TypeReg or TypeDir. if tw.hdr.Typeflag == TypeRegA { if strings.HasSuffix(tw.hdr.Name, "/") { tw.hdr.Typeflag = TypeDir } else { tw.hdr.Typeflag = TypeReg } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
src/archive/tar/common.go
return fmt.Sprintf("%s: %v", prefix, strings.Join(ss, "; and ")) } // Type flags for Header.Typeflag. const ( // Type '0' indicates a regular file. TypeReg = '0' // Deprecated: Use TypeReg instead. TypeRegA = '\x00' // Type '1' to '6' are header-only flags and may not have a data body. TypeLink = '1' // Hard link TypeSymlink = '2' // Symbolic link TypeChar = '3' // Character device node
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 16:01:50 UTC 2024 - 24.7K bytes - Viewed (0) -
src/archive/tar/reader.go
return nil, err } if gnuLongName != "" { hdr.Name = gnuLongName } if gnuLongLink != "" { hdr.Linkname = gnuLongLink } if hdr.Typeflag == TypeRegA { if strings.HasSuffix(hdr.Name, "/") { hdr.Typeflag = TypeDir // Legacy archives use trailing slash for directories } else { hdr.Typeflag = TypeReg } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"TypeDir", Const, 0}, {"TypeFifo", Const, 0}, {"TypeGNULongLink", Const, 1}, {"TypeGNULongName", Const, 1}, {"TypeGNUSparse", Const, 3}, {"TypeLink", Const, 0}, {"TypeReg", Const, 0}, {"TypeRegA", Const, 0}, {"TypeSymlink", Const, 0}, {"TypeXGlobalHeader", Const, 0}, {"TypeXHeader", Const, 0}, {"Writer", Type, 0}, }, "archive/zip": { {"(*File).DataOffset", Method, 2},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.16.txt
pkg unicode, var Dives_Akuru *RangeTable pkg unicode, var Khitan_Small_Script *RangeTable pkg unicode, var Yezidi *RangeTable # all deprecations up to and including Go 1.16 pkg archive/tar, const TypeRegA //deprecated pkg archive/tar, type Header struct, Xattrs //deprecated pkg archive/zip, method (*File) ModTime //deprecated pkg archive/zip, method (*File) SetModTime //deprecated
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0) -
api/go1.txt
pkg archive/tar, const TypeDir ideal-char pkg archive/tar, const TypeFifo ideal-char pkg archive/tar, const TypeLink ideal-char pkg archive/tar, const TypeReg ideal-char pkg archive/tar, const TypeRegA ideal-char pkg archive/tar, const TypeSymlink ideal-char pkg archive/tar, const TypeXGlobalHeader ideal-char pkg archive/tar, const TypeXHeader ideal-char pkg archive/tar, func NewReader(io.Reader) *Reader
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
api/go1.1.txt
pkg archive/tar, const TypeGNULongName = 76 pkg archive/tar, const TypeGNULongName ideal-char pkg archive/tar, const TypeLink = 49 pkg archive/tar, const TypeReg = 48 pkg archive/tar, const TypeRegA = 0 pkg archive/tar, const TypeSymlink = 50 pkg archive/tar, const TypeXGlobalHeader = 103 pkg archive/tar, const TypeXHeader = 120 pkg archive/tar, func FileInfoHeader(os.FileInfo, string) (*Header, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)