- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getObjectResources (0.13 sec)
-
cmd/api-resources.go
uploadIDMarker = values.Get("upload-id-marker") delimiter = values.Get("delimiter") encodingType = values.Get("encoding-type") return } // Parse object url queries func getObjectResources(values url.Values) (uploadID string, partNumberMarker, maxParts int, encodingType string, errCode APIErrorCode) { var err error errCode = ErrNone if values.Get("max-parts") != "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 07 18:25:26 UTC 2023 - 4.3K bytes - Viewed (0) -
cmd/api-resources_test.go
partNumberMarker: 1, maxParts: 1000, encodingType: "gzip", }, } for i, testCase := range testCases { uploadID, partNumberMarker, maxParts, encodingType, argsErr := getObjectResources(testCase.values) if argsErr != ErrNone { t.Errorf("Test %d: argument parsing failed, got %v", i+1, argsErr) } if uploadID != testCase.uploadID {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 7.1K bytes - Viewed (0)