Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fileMode (0.15 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
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top