Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,864 for isobject (1.98 sec)

  1. cmd/metacache-entries.go

    func (e metaCacheEntry) isDir() bool {
    	return len(e.metadata) == 0 && strings.HasSuffix(e.name, slashSeparator)
    }
    
    // isObject returns if the entry is representing an object.
    func (e metaCacheEntry) isObject() bool {
    	return len(e.metadata) > 0
    }
    
    // isObjectDir returns if the entry is representing an object/
    func (e metaCacheEntry) isObjectDir() bool {
    	return len(e.metadata) > 0 && strings.HasSuffix(e.name, slashSeparator)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/metacache-stream.go

    	if !next.hasPrefix(prefix) {
    		return metaCacheEntriesSorted{}, io.EOF
    	}
    
    	if r.current.name != "" {
    		if (inclDeleted || !r.current.isLatestDeletemarker()) && r.current.hasPrefix(prefix) && (inclDirs || r.current.isObject()) {
    			res = append(res, r.current)
    		}
    		r.current.name = ""
    		r.current.metadata = nil
    	}
    
    	for n < 0 || len(res) < n {
    		if more, err := r.mr.ReadBool(); !more {
    			switch err {
    			case nil:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    				continue
    			}
    			if !strings.HasPrefix(entry.name, o.Prefix) {
    				continue
    			}
    			if !o.Recursive && !entry.isInDir(o.Prefix, o.Separator) {
    				continue
    			}
    			if !o.InclDeleted && entry.isObject() && entry.isLatestDeletemarker() && !entry.isObjectDir() {
    				continue
    			}
    			if o.Lifecycle != nil || o.Replication.Config != nil {
    				if skipped := triggerExpiryAndRepl(ctx, *o, entry); skipped == true {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  4. kotlin-js-store/yarn.lock

    object-assign@^4:
      version "4.1.1"
      resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
      integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
    
    object-inspect@^1.9.0:
      version "1.12.2"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    }
    
    func (p poolMeta) ResumeBucketObject(idx int) (bucket, object string) {
    	if p.Pools[idx].Decommission != nil {
    		bucket = p.Pools[idx].Decommission.Bucket
    		object = p.Pools[idx].Decommission.Object
    	}
    	return
    }
    
    func (p *poolMeta) TrackCurrentBucketObject(idx int, bucket string, object string) {
    	if p.Pools[idx].Decommission == nil {
    		// Decommission not in progress.
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  6. cmd/object-handlers_test.go

    				// Read last byte of object
    				fmt.Sprintf("bytes=-%d", 1),
    				// Read all but first byte of object
    				"bytes=1-",
    				// Read first half of object
    				fmt.Sprintf("bytes=%d-%d", 0, objLen/2),
    				// Read last half of object
    				fmt.Sprintf("bytes=-%d", objLen/2),
    				// Read middle half of object
    				fmt.Sprintf("bytes=%d-%d", objLen/4, objLen*3/4),
    				// Read 100MiB of the object from the beginning
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    		// do an additional verification whether object exists when object is deletemarker and request
    		// is from replication
    		if opts.CheckDMReplicationReady {
    			topts := opts
    			topts.VersionID = ""
    			goi, gerr := getObjectInfo(ctx, bucket, object, topts)
    			if gerr == nil || goi.VersionID != "" { // object layer returned more info because object is deleted
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. cmd/policy_test.go

    			"x-amz-copy-source": {"mybucket/myobject"},
    			"SourceIp":          {"192.168.1.10"},
    		},
    		ObjectName: "myobject",
    	}
    
    	anonGetObjectActionArgs := policy.BucketPolicyArgs{
    		AccountName:     "Q3AM3UQ867SPQQA43P2F",
    		Action:          policy.GetObjectAction,
    		BucketName:      "mybucket",
    		ConditionValues: map[string][]string{},
    		ObjectName:      "myobject",
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  9. cmd/storage-rest_test.go

    	err := storage.AppendFile(context.Background(), "foo", "myobject", []byte("foo"))
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    
    	testCases := []struct {
    		volumeName     string
    		objectName     string
    		offset         int64
    		expectedResult []byte
    		expectErr      bool
    	}{
    		{"foo", "myobject", 0, []byte("foo"), false},
    		{"foo", "myobject", 1, []byte("oo"), false},
    		// file not found error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    	return online
    }
    
    // CopyObject - copy object source object to destination object.
    // if source object and destination object are same we only
    // update metadata.
    func (er erasureObjects) CopyObject(ctx context.Context, srcBucket, srcObject, dstBucket, dstObject string, srcInfo ObjectInfo, srcOpts, dstOpts ObjectOptions) (oi ObjectInfo, err error) {
    	if !dstOpts.NoAuditLog {
    		auditObjectErasureSet(ctx, dstObject, &er)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
Back to top