Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for SlashSeparator (0.12 sec)

  1. cmd/data-usage.go

    )
    
    const (
    	dataUsageRoot   = SlashSeparator
    	dataUsageBucket = minioMetaBucket + SlashSeparator + bucketMetaPrefix
    
    	dataUsageObjName       = ".usage.json"
    	dataUsageObjNamePath   = bucketMetaPrefix + SlashSeparator + dataUsageObjName
    	dataUsageBloomName     = ".bloomcycle.bin"
    	dataUsageBloomNamePath = bucketMetaPrefix + SlashSeparator + dataUsageBloomName
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle-handlers_test.go

    			accessKey:          "",
    			secretKey:          "",
    			expectedRespStatus: http.StatusForbidden,
    			lifecycleResponse:  []byte(""),
    			errorResponse: APIErrorResponse{
    				Resource: SlashSeparator + bucketName + SlashSeparator,
    				Code:     "AccessDenied",
    				Message:  "Access Denied.",
    			},
    			shouldPass: false,
    		},
    		// GET wrong credentials
    		{
    			method: http.MethodGet, bucketName: bucketName,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. cmd/api-resources_test.go

    				"start-after":        []string{"start-after"},
    				"delimiter":          []string{SlashSeparator},
    				"fetch-owner":        []string{"true"},
    				"max-keys":           []string{"100"},
    				"encoding-type":      []string{"gzip"},
    			},
    			prefix:       "photos/",
    			token:        "token",
    			startAfter:   "start-after",
    			delimiter:    SlashSeparator,
    			fetchOwner:   true,
    			maxKeys:      100,
    			encodingType: "gzip",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  4. cmd/metacache-bucket_test.go

    			Bucket:       "",
    			BaseDir:      pathNames[i%paths],
    			Prefix:       "",
    			FilterPrefix: "",
    			Marker:       "",
    			Limit:        0,
    			AskDisks:     "strict",
    			Recursive:    false,
    			Separator:    slashSeparator,
    			Create:       true,
    		})
    	}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bm.findCache(listPathOptions{
    			ID:           mustGetUUID(),
    			Bucket:       "",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 25 23:29:45 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. cmd/ftp-server-driver.go

    }
    
    func buildMinioPath(p string) string {
    	return strings.TrimPrefix(p, SlashSeparator)
    }
    
    func buildMinioDir(p string) string {
    	v := buildMinioPath(p)
    	if !strings.HasSuffix(v, SlashSeparator) {
    		return v + SlashSeparator
    	}
    	return v
    }
    
    type minioFileInfo struct {
    	p     string
    	info  minio.ObjectInfo
    	isDir bool
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    			invalidPartNumber:  true,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 13.
    		// maximum part number.
    		{
    			bucketName:         bucketName,
    			uploadID:           uploadID,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  7. cmd/metacache-server-pool.go

    	// of form 'keyName/...'
    	if strings.HasPrefix(o.Prefix, SlashSeparator) {
    		return entries, io.EOF
    	}
    
    	// If delimiter is slashSeparator we must return directories of
    	// the non-recursive scan unless explicitly requested.
    	o.IncludeDirectories = o.Separator == slashSeparator
    	if (o.Separator == slashSeparator || o.Separator == "") && !o.Recursive {
    		o.Recursive = o.Separator != slashSeparator
    		o.Separator = slashSeparator
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    			}
    		}
    	}
    	return nil
    }
    
    // SlashSeparator - slash separator.
    const SlashSeparator = "/"
    
    // SlashSeparatorChar - slash separator.
    const SlashSeparatorChar = '/'
    
    // retainSlash - retains slash from a path.
    func retainSlash(s string) string {
    	if s == "" {
    		return s
    	}
    	return strings.TrimSuffix(s, SlashSeparator) + SlashSeparator
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. cmd/metacache-walk.go

    		case out <- entry:
    		}
    		return nil
    	}
    
    	// Fast exit track to check if we are listing an object with
    	// a trailing slash, this will avoid to list the object content.
    	if HasSuffix(opts.BaseDir, SlashSeparator) {
    		metadata, err := s.readMetadata(ctx, pathJoin(volumeDir,
    			opts.BaseDir[:len(opts.BaseDir)-1]+globalDirSuffix,
    			xlStorageFormatFile))
    		diskHealthCheckOK(ctx, err)
    		if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. cmd/metacache-entries_test.go

    			entry:    "src/file",
    			dir:      "src/",
    			sep:      slashSeparator,
    			want:     true,
    		},
    		{
    			testName: "basic-dir",
    			entry:    "src/dir/",
    			dir:      "src/",
    			sep:      slashSeparator,
    			want:     true,
    		},
    		{
    			testName: "deeper-file",
    			entry:    "src/dir/somewhere.ext",
    			dir:      "src/",
    			sep:      slashSeparator,
    			want:     false,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
Back to top