Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 226 for Prefix (0.1 sec)

  1. internal/bucket/lifecycle/prefix.go

    package lifecycle
    
    import (
    	"encoding/xml"
    )
    
    // Prefix holds the prefix xml tag in <Rule> and <Filter>
    type Prefix struct {
    	string
    	set    bool
    	Unused struct{} // Needed for GOB compatibility
    }
    
    // UnmarshalXML - decodes XML data.
    func (p *Prefix) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	var s string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 14:45:25 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/archive/zip/testdata/test-prefix.zip

    Ian Lance Taylor <******@****.***> 1645759397 -0800
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sun May 08 17:26:10 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. cmd/metacache_test.go

    			prefix: "prefix/obj.ext",
    			want:   "prefix/",
    		},
    		{
    			name:   "folderfolderobj",
    			prefix: "prefix/prefix2/obj.ext",
    			want:   "prefix/prefix2/",
    		},
    		{
    			name:   "folderfolder",
    			prefix: "prefix/prefix2/",
    			want:   "prefix/prefix2/",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := baseDirFromPrefix(tt.prefix); got != tt.want {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 08 18:06:45 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  4. internal/bucket/versioning/versioning.go

    	if prefix == "" {
    		return true
    	}
    	if v.ExcludeFolders && strings.HasSuffix(prefix, "/") {
    		return false
    	}
    
    	for _, sprefix := range v.ExcludedPrefixes {
    		// Note: all excluded prefix patterns end with `/` (See Validate)
    		sprefix.Prefix += "*"
    
    		if matched := wildcard.MatchSimple(sprefix.Prefix, prefix); matched {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. internal/bucket/versioning/versioning_test.go

    	for i, prefix := range testPrefixes {
    		if v.PrefixEnabled(prefix) || !v.PrefixSuspended(prefix) {
    			t.Fatalf("Test %d: Expected versioning to be excluded for %s", i+1, prefix)
    		}
    	}
    
    	// Test applicability for regular objects
    	if prefix := "prefix-1/obj-1"; !v.PrefixEnabled(prefix) || v.PrefixSuspended(prefix) {
    		t.Fatalf("Expected versioning to be enabled for %s", 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)
  6. .generated_files

    #    path-prefix - a prefix match on the file path
    #    file-prefix - a prefix match of the leaf filename (no path)
    #    paths-from-repo - read a file from the repo and load file paths
    #
    
    file-prefix	zz_generated.
    
    file-name	types.generated.go
    file-name	generated.pb.go
    file-name	generated.proto
    file-name	types_swagger_doc_generated.go
    
    path-prefix	vendor/
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 04 23:47:25 UTC 2022
    - 750 bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/common/common.jsp

    <%@taglib prefix="c" uri="jakarta.tags.core"%><%--
     --%><%@taglib prefix="fmt" uri="jakarta.tags.fmt"%><%--
     --%><%@taglib prefix="fn" uri="jakarta.tags.functions" %><%--
     --%><%@taglib prefix="la" uri="http://lastaflute.org/latags" %><%--
     --%><%@taglib prefix="f" uri="http://lastaflute.org/functions" %><%--
     --%><%@taglib prefix="fe" uri="fess.tags.functions" %><%--
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 446 bytes
    - Viewed (0)
  8. cmd/batch-replicate_test.go

    	}
    	if !slices.Equal(job.Replicate.Source.Prefix.F(), []string{"object-prefix1"}) {
    		t.Fatal("Failed to parse batch-job-replicate yaml", err)
    	}
    	multiPrefixReplicateYaml := `
    replicate:
      apiVersion: v1
      # source of the objects to be replicated
      source:
        type: minio # valid values are "s3" or "minio"
        bucket: mytest
        prefix: # 'PREFIX' is optional
          - object-prefix1 
          - object-prefix2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. module.xml

    		</get>
    		<unzip dest="${modules.dir}/${module.name}" src="${target.dir}/${module.name.prefix}${module.name}-${module.zip.version}.zip">
    			<patternset>
    				<include name="**" />
    			</patternset>
    			<cutdirsmapper dirs="1" />
    		</unzip>
    	</target>
    
    	<target name="remove.jars" if="with.fess">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 25 12:43:59 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. cmd/batch-handlers_test.go

    	type args struct {
    		yamlStr string
    	}
    	type PrefixTemp struct {
    		Prefix BatchJobPrefix `yaml:"prefix"`
    	}
    	tests := []struct {
    		name    string
    		b       PrefixTemp
    		args    args
    		want    []string
    		wantErr bool
    	}{
    		{
    			name: "test1",
    			b:    PrefixTemp{},
    			args: args{
    				yamlStr: `
    prefix: "foo"
    `,
    			},
    			want:    []string{"foo"},
    			wantErr: false,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top