- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 94 for modTimes (0.35 sec)
-
cmd/erasure-server-pool.go
// the latest object. sort.Slice(results, func(i, j int) bool { a, b := results[i], results[j] if a.oi.ModTime.Equal(b.oi.ModTime) { // On tiebreak, select the lowest pool index. return a.zIdx < b.zIdx } return a.oi.ModTime.After(b.oi.ModTime) }) for _, res := range results { err := res.err if err == nil { return res.oi, res.zIdx, nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 20:08:20 GMT 2024 - 80.5K bytes - Viewed (0) -
cmd/object-handlers.go
asize = objInfo.Size } globalCacheConfig.Set(&cache.ObjectInfo{ Key: objInfo.Name, Bucket: objInfo.Bucket, ETag: objInfo.ETag, ModTime: objInfo.ModTime, Expires: objInfo.ExpiresStr(), CacheControl: objInfo.CacheControl, Metadata: cleanReservedKeys(objInfo.UserDefined), Range: rangeHeader, PartNumber: opts.PartNumber,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 02 20:15:54 GMT 2024 - 125.2K bytes - Viewed (0) -
cmd/xl-storage.go
case isSysErrIO(err): return VolInfo{}, errFaultyDisk default: return VolInfo{}, err } } // As os.Lstat() doesn't carry other than ModTime(), use ModTime() // as CreatedTime. createdTime := st.ModTime() return VolInfo{ Name: volume, Created: createdTime, }, nil } // DeleteVol - delete a volume.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 84.7K bytes - Viewed (0) -
cmd/object-api-interface.go
// object should be returned by ObjectLayer.Walk method type WalkVersionsSortOrder uint8 const ( // WalkVersionsSortAsc - Sort in ascending order of ModTime WalkVersionsSortAsc WalkVersionsSortOrder = iota // WalkVersionsSortDesc - Sort in descending order of ModTime WalkVersionsSortDesc ) // ObjectOptions represents object options for ObjectLayer object operations type ObjectOptions struct {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 20:08:20 GMT 2024 - 17K bytes - Viewed (0) -
cmd/xl-storage-free-version_test.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Mar 02 05:11:03 GMT 2024 - 7.8K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration.go
// applicable, returns false otherwise. func (de DelMarkerExpiration) NextDue(obj ObjectOpts) (time.Time, bool) { if !obj.IsLatest || !obj.DeleteMarker { return time.Time{}, false } return ExpectedExpiryTime(obj.ModTime, de.Days), true
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 2.3K bytes - Viewed (0) -
cmd/api-response.go
lastObjMetaName = object.Name } content := ObjectVersion{} content.Key = s3EncodeName(object.Name, encodingType) content.LastModified = amztime.ISO8601Format(object.ModTime.UTC()) if object.ETag != "" { content.ETag = "\"" + object.ETag + "\"" } content.Size = object.Size if object.StorageClass != "" { content.StorageClass = object.StorageClass } else {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 33.3K bytes - Viewed (2) -
cmd/iam-object-store.go
// This means that policy was in the old version (without any // timestamp info). We fetch the mod time of the file and save // that as create and update date. p.CreateDate = objInfo.ModTime p.UpdateDate = objInfo.ModTime } m[policy] = p return nil } } func (iamOS *IAMObjectStore) loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 05 21:26:41 GMT 2024 - 19.9K bytes - Viewed (0) -
cmd/event-notification.go
// ToEvent - converts to notification event. func (args eventArgs) ToEvent(escape bool) event.Event { eventTime := UTCNow() uniqueID := fmt.Sprintf("%X", eventTime.UnixNano()) if !args.Object.ModTime.IsZero() { uniqueID = fmt.Sprintf("%X", args.Object.ModTime.UnixNano()) } respElements := map[string]string{ "x-amz-request-id": args.RespElements["requestId"], "x-amz-id-2": args.RespElements["nodeId"],
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 7.8K bytes - Viewed (0) -
src/archive/tar/reader.go
hdr.Size = p.parseNumeric(v7.size()) hdr.Mode = p.parseNumeric(v7.mode()) hdr.Uid = int(p.parseNumeric(v7.uid())) hdr.Gid = int(p.parseNumeric(v7.gid())) hdr.ModTime = time.Unix(p.parseNumeric(v7.modTime()), 0) // Unpack format specific fields. if format > formatV7 { ustar := tr.blk.toUSTAR() hdr.Uname = p.parseString(ustar.userName()) hdr.Gname = p.parseString(ustar.groupName())
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 08 01:59:14 GMT 2024 - 26.8K bytes - Viewed (0)