- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for isDirObject (0.07 sec)
-
cmd/object-api-options.go
// only at bucket level instead. opts.VersionSuspended = globalBucketVersioningSys.Suspended(bucket) // For directory objects, delete `null` version permanently. if isDirObject(object) && opts.VersionID == "" { opts.VersionID = nullVersionID } delMarker, err := parseBoolHeader(bucket, object, r.Header, xhttp.MinIOSourceDeleteMarker) if err != nil { return opts, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 21 21:13:59 UTC 2024 - 14.4K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
successRequest0 := encodeResponse(requestList[0]) deletedObjects := make([]DeletedObject, len(requestList[0].Objects)) for i := range requestList[0].Objects { var vid string if isDirObject(requestList[0].Objects[i].ObjectName) { vid = "" } deletedObjects[i] = DeletedObject{ ObjectName: requestList[0].Objects[i].ObjectName, VersionID: vid, } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 39.8K bytes - Viewed (0) -
cmd/bucket-handlers.go
oss[index].SetTransitionState(goi.TransitionedObject) } // All deletes on directory objects needs to be for `nullVersionID` if isDirObject(object.ObjectName) && object.VersionID == "" { object.VersionID = nullVersionID } if replicateDeletes { dsc = checkReplicateDelete(ctx, bucket, ObjectToDelete{ ObjectV: ObjectV{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 12:24:04 UTC 2024 - 63.4K bytes - Viewed (0) -
cmd/utils.go
func decodeDirObject(object string) string { if HasSuffix(object, globalDirSuffix) { return strings.TrimSuffix(object, globalDirSuffix) + slashSeparator } return object } func isDirObject(object string) bool { if obj := encodeDirObject(object); obj != object { object = obj } return HasSuffix(object, globalDirSuffix) } // Helper method to return total number of nodes in cluster
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 31.9K bytes - Viewed (0)