- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 89 for fileInfo (0.17 seconds)
-
src/archive/tar/common.go
err = headerError{whyNoUSTAR, whyNoPAX, whyNoGNU, whyOnlyPAX, whyOnlyGNU} } } return format, paxHdrs, err } // FileInfo returns an fs.FileInfo for the Header. func (h *Header) FileInfo() fs.FileInfo { return headerFileInfo{h} } // headerFileInfo implements fs.FileInfo. type headerFileInfo struct { h *Header } func (fi headerFileInfo) Size() int64 { return fi.h.Size }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 24.5K bytes - Click Count (0) -
api/go1.25.txt
pkg hash/maphash, method (*Hash) Clone() (hash.Cloner, error) #69521 pkg io/fs, func Lstat(FS, string) (FileInfo, error) #49580 pkg io/fs, func ReadLink(FS, string) (string, error) #49580 pkg io/fs, type ReadLinkFS interface { Lstat, Open, ReadLink } #49580 pkg io/fs, type ReadLinkFS interface, Lstat(string) (FileInfo, error) #49580 pkg io/fs, type ReadLinkFS interface, Open(string) (File, error) #49580
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Jun 02 16:09:57 GMT 2025 - 6.8K bytes - Click Count (0) -
cmd/xl-storage.go
} // GetDiskID - returns the cached disk uuid func (s *xlStorage) GetDiskID() (string, error) { s.RLock() diskID := s.diskID fileInfo := s.formatFileInfo lastCheck := s.formatLastCheck // check if we have a valid disk ID that is less than 1 seconds old. if fileInfo != nil && diskID != "" && time.Since(lastCheck) <= 1*time.Second { s.RUnlock() return diskID, nil } s.RUnlock()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0) -
src/archive/zip/struct.go
UncompressedSize64 uint64 Extra []byte ExternalAttrs uint32 // Meaning depends on CreatorVersion } // FileInfo returns an fs.FileInfo for the [FileHeader]. func (h *FileHeader) FileInfo() fs.FileInfo { return headerFileInfo{h} } // headerFileInfo implements [fs.FileInfo]. type headerFileInfo struct { fh *FileHeader } func (fi headerFileInfo) Name() string { return path.Base(fi.fh.Name) }
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) -
cmd/data-scanner_test.go
// Simulate objects uploaded 30 hours ago modTime := now.Add(-48 * time.Hour) uuids := make([]uuid.UUID, 5) for i := range uuids { uuids[i] = uuid.UUID([16]byte{15: uint8(i + 1)}) } fivs := make([]FileInfo, 5) objInfos := make([]ObjectInfo, 5) objRetentionMeta := make(map[string]string) objRetentionMeta[strings.ToLower(xhttp.AmzObjectLockMode)] = string(objectlock.RetCompliance)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0) -
cmd/storage-rest-server.go
storageReadVersionRPC = grid.NewSingleHandler[*grid.MSS, *FileInfo](grid.HandlerReadVersion, grid.NewMSS, func() *FileInfo { return &FileInfo{} }) storageReadXLRPC = grid.NewSingleHandler[*grid.MSS, *RawFileInfo](grid.HandlerReadXL, grid.NewMSS, func() *RawFileInfo { return &RawFileInfo{} })
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 45.7K bytes - Click Count (0) -
cmd/object-api-interface.go
NoAuditLog bool // Only set for decom, rebalance, to avoid double audits. } // WalkOptions provides filtering, marker and other Walk() specific options. type WalkOptions struct { Filter func(info FileInfo) bool // return WalkFilter returns 'true/false' Marker string // set to skip until this object LatestOnly bool // returns only latest versions for all matching objects
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.5K bytes - Click Count (0) -
cmd/erasure-server-pool-rebalance.go
Participating bool `json:"participating" msg:"par"` Info rebalanceInfo `json:"info" msg:"inf"` } func (rs *rebalanceStats) update(bucket string, fi FileInfo) { if fi.IsLatest { rs.NumObjects++ } rs.NumVersions++ onDiskSz := int64(0) if !fi.Deleted { onDiskSz = fi.Size * int64(fi.Erasure.DataBlocks+fi.Erasure.ParityBlocks) / int64(fi.Erasure.DataBlocks)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 28.7K bytes - Click Count (0) -
cmd/xl-storage-format-v2_test.go
} } // Deleting fileInfos[4].VersionID, fileInfos[5].VersionID should return empty data dir; there are other object version sharing the data dir. // Subsequently deleting fileInfos[6].versionID should return fileInfos[6].dataDir since there are no other object versions sharing this data dir. count := len(testCases)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37.8K bytes - Click Count (0) -
cmd/storage-datatypes_gen_test.go
} } func BenchmarkMarshalMsgFileInfo(b *testing.B) { v := FileInfo{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgFileInfo(b *testing.B) { v := FileInfo{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts)))
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 73.9K bytes - Click Count (0)