Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ExcludeFolders (0.12 sec)

  1. internal/bucket/versioning/versioning_test.go

    					t.Fatalf("Test %d: Expected excluded prefix %s but got %s", i+1, tc.excludedPrefixes[i], v.ExcludedPrefixes[i].Prefix)
    				}
    			}
    			if tc.excludeFolders != v.ExcludeFolders {
    				t.Fatalf("Test %d: Expected ExcludeFoldersr=%v but got %v", i+1, tc.excludeFolders, v.ExcludeFolders)
    			}
    		}
    	}
    }
    
    func TestMarshalXML(t *testing.T) {
    	// Validates if Versioning with no excluded prefixes omits
    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 true
    			}
    		}
    	}
    	return false
    }
    
    // PrefixesExcluded returns true if v contains one or more excluded object
    // prefixes or if ExcludeFolders is true.
    func (v Versioning) PrefixesExcluded() bool {
    	return len(v.ExcludedPrefixes) > 0 || v.ExcludeFolders
    }
    
    // ParseConfig - parses data in given reader to VersioningConfiguration.
    func ParseConfig(reader io.Reader) (*Versioning, error) {
    	var v Versioning
    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. docs/bucket/replication/README.md

    ```
    <VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
            <Status>Enabled</Status>
            <ExcludeFolders>true</ExcludeFolders>
    
            <ExcludedPrefixes>
              <Prefix>app1-jobs/*/_temporary/</Prefix>
            </ExcludedPrefixes>
            <ExcludedPrefixes>
              <Prefix>app2-jobs/*/_magic/</Prefix>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
Back to top