Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 79 for SlashSeparator (0.07 sec)

  1. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    func NewEndpoint(arg string) (ep Endpoint, e error) {
    	// isEmptyPath - check whether given path is not empty.
    	isEmptyPath := func(path string) bool {
    		return path == "" || path == SlashSeparator || path == `\`
    	}
    
    	if isEmptyPath(arg) {
    		return ep, fmt.Errorf("empty or root endpoint is not supported")
    	}
    
    	var isLocal bool
    	var host string
    	u, err := url.Parse(arg)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  3. cmd/endpoint_test.go

    		{"http://192.168.253.200/path", Endpoint{u4, false, -1, -1, -1}, URLEndpointType, nil},
    		{"", Endpoint{}, -1, fmt.Errorf("empty or root endpoint is not supported")},
    		{SlashSeparator, Endpoint{}, -1, fmt.Errorf("empty or root endpoint is not supported")},
    		{`\`, Endpoint{}, -1, fmt.Errorf("empty or root endpoint is not supported")},
    		{"c://foo", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format")},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  5. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  6. cmd/erasure-object_test.go

    			VersionID: names[i].VersionID,
    		})
    		switch statErr.(type) {
    		case VersionNotFound:
    		default:
    			t.Fatalf("Object %s is not removed", test.bucket+SlashSeparator+test.object)
    		}
    	}
    
    	if _, err = os.ReadFile(pathJoin(fsDirs[0], bucketName, "dir/obj1", "xl.meta")); err == nil {
    		t.Fatalf("xl.meta still present after removal")
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    	object = decodeDirObject(object)
    	versionID := fi.VersionID
    	if versioned && versionID == "" {
    		versionID = nullVersionID
    	}
    
    	objInfo := ObjectInfo{
    		IsDir:            HasSuffix(object, SlashSeparator),
    		Bucket:           bucket,
    		Name:             object,
    		ParityBlocks:     fi.Erasure.ParityBlocks,
    		DataBlocks:       fi.Erasure.DataBlocks,
    		VersionID:        versionID,
    		IsLatest:         fi.IsLatest,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  8. cmd/admin-router.go

    	"github.com/minio/mux"
    )
    
    const (
    	adminPathPrefix                = minioReservedBucketPath + "/admin"
    	adminAPIVersion                = madmin.AdminAPIVersion
    	adminAPIVersionPrefix          = SlashSeparator + adminAPIVersion
    	adminAPISiteReplicationDevNull = "/site-replication/devnull"
    	adminAPISiteReplicationNetPerf = "/site-replication/netperf"
    	adminAPIClientDevNull          = "/speedtest/client/devnull"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  9. cmd/update.go

    		}
    	}
    
    	minisignPubkey := env.Get(envMinisignPubKey, defaultMinisignPubkey)
    	if minisignPubkey != "" {
    		v := selfupdate.NewVerifier()
    		u.Path = path.Dir(u.Path) + slashSeparator + releaseInfo + ".minisig"
    		if err = v.LoadFromURL(u.String(), minisignPubkey, transport); err != nil {
    			return AdminError{
    				Code:       AdminUpdateApplyFailure,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. cmd/object-api-utils_test.go

    	"github.com/minio/pkg/v3/trie"
    )
    
    func pathJoinOld(elem ...string) string {
    	trailingSlash := ""
    	if len(elem) > 0 {
    		if hasSuffixByte(elem[len(elem)-1], SlashSeparatorChar) {
    			trailingSlash = SlashSeparator
    		}
    	}
    	return path.Join(elem...) + trailingSlash
    }
    
    func concatNaive(ss ...string) string {
    	rs := ss[0]
    	for i := 1; i < len(ss); i++ {
    		rs += ss[i]
    	}
    	return rs
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top