Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for SlashSeparator (0.21 sec)

  1. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "", "Asia/India/Karnataka/Bangalore/Koramangala/pics", SlashSeparator, 10, resultCases[29], nil, true},
    		// Test with prefix and delimiter set to '/'. (60)
    		{"test-bucket-list-object", SlashSeparator, "", SlashSeparator, 10, resultCases[30], nil, true},
    		// Test with invalid prefix (61)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	dataUsageInfo, err := scanDataFolder(ctx, disks, s, cache, func(item scannerItem) (sizeSummary, error) {
    		// Look for `xl.meta/xl.json' at the leaf.
    		if !strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFile) &&
    			!strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFileV1) {
    			// if no xl.meta/xl.json found, skip the file.
    			return sizeSummary{}, errSkipFile
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    // construct URL for http requests for bucket operations.
    func makeTestTargetURL(endPoint, bucketName, objectName string, queryValues url.Values) string {
    	urlStr := endPoint + SlashSeparator
    	if bucketName != "" {
    		urlStr = urlStr + bucketName + SlashSeparator
    	}
    	if objectName != "" {
    		urlStr += s3utils.EncodePath(objectName)
    	}
    	if len(queryValues) > 0 {
    		urlStr = urlStr + "?" + queryValues.Encode()
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    		if result.Err != nil {
    			batchLogIf(j.ctx, result.Err)
    			continue
    		}
    		if strings.HasPrefix(result.Item.Name, batchJobReportsPrefix+slashSeparator) {
    			continue
    		}
    		// ignore batch-replicate.bin and batch-rotate.bin entries
    		if strings.HasSuffix(result.Item.Name, slashSeparator) {
    			continue
    		}
    		req := &BatchJobRequest{}
    		if err := req.load(ctx, j.objLayer, result.Item.Name); err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    	for _, obj := range objects {
    		if obj.IsDir && obj.ModTime.IsZero() && delimiter != "" {
    			// Only add each once.
    			// With slash delimiter we only get the directory once.
    			found := false
    			if delimiter != slashSeparator {
    				for _, p := range loi.Prefixes {
    					if found {
    						break
    					}
    					found = p == obj.Name
    				}
    			}
    			if !found {
    				loi.Prefixes = append(loi.Prefixes, obj.Name)
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
  6. cmd/object-api-multipart_test.go

    		// MaxUploads is set more than number of meta data entries in the result.
    		// Expecting the result to contain one MultipartInfo entry and IsTruncated to be false.
    		{
    			MaxUploads:  2,
    			Delimiter:   SlashSeparator,
    			Prefix:      "",
    			IsTruncated: false,
    			Uploads: []MultipartInfo{
    				{
    					Object:   objectNames[0],
    					UploadID: uploadIDs[0],
    				},
    			},
    		},
    		// listMultipartResults - 16.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    	if s3Error == ErrAccessDenied {
    		// Set prefix value for "s3:prefix" policy conditionals.
    		r.Header.Set("prefix", "")
    
    		// Set delimiter value for "s3:delimiter" policy conditionals.
    		r.Header.Set("delimiter", SlashSeparator)
    
    		n := 0
    		// Use the following trick to filter in place
    		// https://github.com/golang/go/wiki/SliceTricks#filter-in-place
    		for _, bucketInfo := range bucketsInfo {
    			if globalIAMSys.IsAllowed(policy.Args{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  8. cmd/xl-storage_test.go

    func TestNewXLStorage(t *testing.T) {
    	// Temporary dir name.
    	tmpDirName := globalTestTmpDir + SlashSeparator + "minio-" + nextSuffix()
    	// Temporary file name.
    	tmpFileName := globalTestTmpDir + SlashSeparator + "minio-" + nextSuffix()
    	f, _ := os.Create(tmpFileName)
    	f.Close()
    	defer os.Remove(tmpFileName)
    
    	// List of all tests for xlStorage initialization.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    	Version int `json:"version"`
    }
    
    func newIAMFormatVersion1() iamFormat {
    	return iamFormat{Version: iamFormatVersion1}
    }
    
    func getIAMFormatFilePath() string {
    	return iamConfigPrefix + SlashSeparator + iamFormatFile
    }
    
    func getUserIdentityPath(user string, userType IAMUserType) string {
    	var basePath string
    	switch userType {
    	case svcUser:
    		basePath = iamConfigServiceAccountsPrefix
    	case stsUser:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    		return
    	}
    
    	// Set prefix value for "s3:prefix" policy conditionals.
    	r.Header.Set("prefix", "")
    
    	// Set delimiter value for "s3:delimiter" policy conditionals.
    	r.Header.Set("delimiter", SlashSeparator)
    
    	// Check if we are asked to return prefix usage
    	enablePrefixUsage := r.Form.Get("prefix-usage") == "true"
    
    	isAllowedAccess := func(bucketName string) (rd, wr bool) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
Back to top