Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for setModTime (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/archive/zip/struct.go

    func (h *FileHeader) ModTime() time.Time {
    	return msDosTimeToTime(h.ModifiedDate, h.ModifiedTime)
    }
    
    // SetModTime sets the [Modified], [ModifiedTime], and [ModifiedDate] fields
    // to the given time in UTC.
    //
    // Deprecated: Use [Modified] instead.
    func (h *FileHeader) SetModTime(t time.Time) {
    	t = t.UTC() // Convert to UTC for compatibility
    	h.Modified = t
    	h.ModifiedDate, h.ModifiedTime = timeToMsDosTime(t)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue May 28 21:41:09 GMT 2024
    - 12.1K bytes
    - Click Count (0)
Back to Top