Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ExcludedPrefixes (0.16 sec)

  1. internal/bucket/versioning/versioning_test.go

    			}
    			if len(tc.excludedPrefixes) > 0 {
    				var mismatch bool
    				if len(v.ExcludedPrefixes) != len(tc.excludedPrefixes) {
    					t.Fatalf("Test %d: Expected length of excluded prefixes %d but got %d", i+1, len(tc.excludedPrefixes), len(v.ExcludedPrefixes))
    				}
    				var i int
    				var eprefix string
    				for i, eprefix = range tc.excludedPrefixes {
    					if eprefix != v.ExcludedPrefixes[i].Prefix {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 08 05:06:44 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  2. internal/bucket/versioning/versioning.go

    	// 	return Errorf("unsupported MFADelete state %s", v.MFADelete)
    	// }
    	switch v.Status {
    	case Enabled:
    		const maxExcludedPrefixes = 10
    		if len(v.ExcludedPrefixes) > maxExcludedPrefixes {
    			return errTooManyExcludedPrefixes
    		}
    
    	case Suspended:
    		if len(v.ExcludedPrefixes) > 0 {
    			return errExcludedPrefixNotSupported
    		}
    	default:
    		return Errorf("unsupported Versioning status %s", v.Status)
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ClassMetaDataUtil.java

            repository.load(metaData);
    
            final Set<String> excludedPrefixes = new HashSet<>();
            final Set<String> excludedPackages = new HashSet<>();
            for (String excludePattern : excludedPackagePatterns) {
                if (excludePattern.endsWith(".**")) {
                    String baseName = excludePattern.substring(0, excludePattern.length() - 3);
                    excludedPrefixes.add(baseName + '.');
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.4K bytes
    - Viewed (0)
Back to top