Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ModTime (0.16 sec)

  1. src/archive/zip/reader.go

    			}
    			fieldBuf.uint32()              // AcTime (ignored)
    			ts := int64(fieldBuf.uint32()) // ModTime since Unix epoch
    			modified = time.Unix(ts, 0)
    		case extTimeExtraID:
    			if len(fieldBuf) < 5 || fieldBuf.uint8()&1 == 0 {
    				continue parseExtras
    			}
    			ts := int64(fieldBuf.uint32()) // ModTime since Unix epoch
    			modified = time.Unix(ts, 0)
    		}
    	}
    
    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

    	hdr.Size = p.parseNumeric(v7.size())
    	hdr.Mode = p.parseNumeric(v7.mode())
    	hdr.Uid = int(p.parseNumeric(v7.uid()))
    	hdr.Gid = int(p.parseNumeric(v7.gid()))
    	hdr.ModTime = time.Unix(p.parseNumeric(v7.modTime()), 0)
    
    	// Unpack format specific fields.
    	if format > formatV7 {
    		ustar := tr.blk.toUSTAR()
    		hdr.Uname = p.parseString(ustar.userName())
    		hdr.Gname = p.parseString(ustar.groupName())
    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