Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 460 for versioning (0.07 sec)

  1. internal/bucket/versioning/versioning.go

    			return errExcludedPrefixNotSupported
    		}
    	default:
    		return Errorf("unsupported Versioning status %s", v.Status)
    	}
    	return nil
    }
    
    // Enabled - returns true if versioning is enabled
    func (v Versioning) Enabled() bool {
    	return v.Status == Enabled
    }
    
    // Versioned returns if 'prefix' has versioning enabled or suspended.
    func (v Versioning) Versioned(prefix string) bool {
    	return v.PrefixEnabled(prefix) || v.PrefixSuspended(prefix)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/bucket-versioning.go

    func (sys *BucketVersioningSys) Get(bucket string) (*versioning.Versioning, error) {
    	if bucket == minioMetaBucket || strings.HasPrefix(bucket, minioMetaBucket) {
    		return &versioning.Versioning{XMLNS: "http://s3.amazonaws.com/doc/2006-03-01/"}, nil
    	}
    
    	vcfg, _, err := globalBucketMetadataSys.GetVersioningConfig(bucket)
    	return vcfg, err
    }
    
    // NewBucketVersioningSys - creates new versioning system.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. cmd/bucket-versioning-handler.go

    	humanize "github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/versioning"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	bucketVersioningConfig = "versioning.xml"
    
    	// Maximum size of bucket versioning configuration payload sent to the PutBucketVersioningHandler.
    	maxBucketVersioningConfigSize = 1 * humanize.MiByte
    )
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. docs/bucket/versioning/versioning-tests.sh

    Harshavardhana <******@****.***> 1725615741 -0700
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

        private void merge(
                Artifact artifact, Map<String, VersionInfo> infos, Versioning versioning, ArtifactRepository repository) {
            if (versioning.getRelease() != null && !versioning.getRelease().isEmpty()) {
                merge(RELEASE, infos, versioning.getLastUpdated(), versioning.getRelease(), repository);
            }
    
            if (versioning.getLatest() != null && !versioning.getLatest().isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                result.addException(e);
            }
    
            return (versioning != null) ? versioning : new Versioning();
        }
    
        private Versioning filterVersionsByRepositoryType(Versioning versioning, RemoteRepository remoteRepository) {
            if (remoteRepository == null) {
                return versioning;
            }
    
            Versioning filteredVersions = versioning.clone();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. cmd/bucket-replication_test.go

    	{ // 2. existing object replication config enabled, no versioning
    		name:         "existing object replication config enabled, no versioning",
    		info:         ObjectInfo{Size: 100},
    		rcfg:         replicationConfig{Config: &configs[0]},
    		expectedSync: false,
    	},
    	{ // 3. existing object replication config enabled, versioning suspended
    		name:         "existing object replication config enabled, versioning suspended",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 16 09:28:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                snapshot.setTimestamp(utcDateFormatter.format(timestamp));
    
                Versioning versioning = new Versioning();
                versioning.setSnapshot(snapshot);
                versioning.setLastUpdatedTimestamp(timestamp);
                lastUpdated = versioning.getLastUpdated();
    
                metadata.setVersioning(versioning);
            } else {
                snapshot = metadata.getVersioning().getSnapshot();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

            Versioning versioning = new Versioning();
            // TODO Should this be changed for MNG-6754 too?
            versioning.updateTimestamp();
            versioning.addVersion(artifact.getVersion());
    
            if (artifact.isRelease()) {
                versioning.setRelease(artifact.getVersion());
            }
    
            return new ArtifactRepositoryMetadata(artifact, versioning);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. cmd/tier-sweeper.go

    // overwritten or deleted depending on bucket versioning status.
    func (os *objSweeper) GetOpts() ObjectOptions {
    	opts := ObjectOptions{
    		VersionID:        os.VersionID,
    		Versioned:        os.Versioned,
    		VersionSuspended: os.Suspended,
    	}
    	if os.Suspended && os.VersionID == "" {
    		opts.VersionID = nullVersionID
    	}
    	return opts
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 17 05:09:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top