Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tool (0.12 sec)

  1. src/archive/zip/reader.go

    	return b2
    }
    
    // A fileListEntry is a File and its ename.
    // If file == nil, the fileListEntry describes a directory without metadata.
    type fileListEntry struct {
    	name  string
    	file  *File
    	isDir bool
    	isDup bool
    }
    
    type fileInfoDirEntry interface {
    	fs.FileInfo
    	fs.DirEntry
    }
    
    func (f *fileListEntry) stat() (fileInfoDirEntry, error) {
    	if f.isDup {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    			// the parser is more liberal than what USTAR actually permits.
    			notASCII := func(r rune) bool { return r >= 0x80 }
    			if bytes.IndexFunc(tr.blk[:], notASCII) >= 0 {
    				hdr.Format = FormatUnknown // Non-ASCII characters in block.
    			}
    			nul := func(b []byte) bool { return int(b[len(b)-1]) == 0 }
    			if !(nul(v7.size()) && nul(v7.mode()) && nul(v7.uid()) && nul(v7.gid()) &&
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top