Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for filemode (0.05 sec)

  1. cmd/admin-handlers.go

    	}
    
    	return loggerInfo, auditloggerInfo
    }
    
    func embedFileInZip(zipWriter *zip.Writer, name string, data []byte, fileMode os.FileMode) error {
    	// Send profiling data to zip as file
    	header, zerr := zip.FileInfoHeader(dummyFileInfo{
    		name:    name,
    		size:    int64(len(data)),
    		mode:    fileMode,
    		modTime: UTCNow(),
    		isDir:   false,
    		sys:     nil,
    	})
    	if zerr != nil {
    		return zerr
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top