Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Sets (0.15 sec)

  1. src/archive/tar/writer.go

    		return err
    	}
    	_, err := io.WriteString(tw, data)
    	return err
    }
    
    // writeRawHeader writes the value of blk, regardless of its value.
    // It sets up the Writer such that it can accept a file of the given size.
    // If the flag is a special header-only flag, then the size is treated as zero.
    func (tw *Writer) writeRawHeader(blk *block, size int64, flag byte) error {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    		// because many legacy ZIP readers interpret the timestamp according
    		// to the local timezone.
    		//
    		// The timezone is only non-UTC if a user directly sets the Modified
    		// field directly themselves. All other approaches sets UTC.
    		fh.ModifiedDate, fh.ModifiedTime = timeToMsDosTime(fh.Modified)
    
    		// Use "extended timestamp" format since this is what Info-ZIP uses.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top