Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 576 for PREFIX (0.1 sec)

  1. cmd/ftp-server-driver.go

    				return err
    			}
    		}
    
    		return nil
    	}
    
    	prefix = retainSlash(prefix)
    
    	for object := range clnt.ListObjects(cctx, bucket, minio.ListObjectsOptions{
    		Prefix:    prefix,
    		Recursive: false,
    	}) {
    		if object.Err != nil {
    			return object.Err
    		}
    
    		if object.Key == prefix {
    			continue
    		}
    
    		isDir := strings.HasSuffix(object.Key, SlashSeparator)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. 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)
  3. tests/test_ws_router.py

        with client.websocket_connect("/prefix/") as websocket:
            data = websocket.receive_text()
            assert data == "Hello, router with prefix!"
    
    
    def test_native_prefix_router():
        client = TestClient(app)
        with client.websocket_connect("/native/") as websocket:
            data = websocket.receive_text()
            assert data == "Hello, router with native prefix!"
    
    
    def test_router2():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. cmd/endpoint-ellipses_test.go

    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "",
    							Suffix: "",
    							Seq:    getSequences(1, 2, 0),
    						},
    						{
    							Prefix: "",
    							Suffix: "/test",
    							Seq:    getSequences(1, 64, 0),
    						},
    						{
    							Prefix: "http://minio",
    							Suffix: "/export/set",
    							Seq:    getSequences(2, 3, 0),
    						},
    					},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    			}
    			// Asserting Prefix.
    			if actualResult.Prefix != expectedResult.Prefix {
    				t.Errorf("Test %d: %s: Expected Prefix to be \"%s\", but instead found it to be \"%s\"", i+1, instanceType, expectedResult.Prefix, actualResult.Prefix)
    			}
    			// Asserting Delimiter.
    			if actualResult.Delimiter != expectedResult.Delimiter {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  6. internal/kms/kms.go

    )
    
    // ListRequest is a structure containing fields
    // and options for listing keys.
    type ListRequest struct {
    	// Prefix is an optional prefix for filtering names.
    	// A list operation only returns elements that match
    	// this prefix.
    	// An empty prefix matches any value.
    	Prefix string
    
    	// ContinueAt is the name of the element from where
    	// a listing should continue. It allows paginated
    	// listings.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. tests/test_empty_router.py

    @router.get("")
    def get_empty():
        return ["OK"]
    
    
    app.include_router(router, prefix="/prefix")
    
    
    client = TestClient(app)
    
    
    def test_use_empty():
        with client:
            response = client.get("/prefix")
            assert response.status_code == 200, response.text
            assert response.json() == ["OK"]
    
            response = client.get("/prefix/")
            assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 22:37:34 UTC 2023
    - 805 bytes
    - Viewed (0)
  8. cmd/metacache-stream.go

    }
    
    // pastPrefix returns true if the given prefix is before start of the block.
    func (b metacacheBlock) pastPrefix(prefix string) bool {
    	if prefix == "" || strings.HasPrefix(b.First, prefix) {
    		return false
    	}
    	// We have checked if prefix matches, so we can do direct compare.
    	return b.First > prefix
    }
    
    // endedPrefix returns true if the given prefix ends within the block.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

    import org.junit.jupiter.params.provider.ArgumentsSource
    
    private val prefix = if (File("samples").exists()) "" else "../../"
    
    private fun mainFiles(): List<File> {
      val directories =
        listOf(
          "$prefix/samples/guide/src/main/java/okhttp3/guide",
          "$prefix/samples/guide/src/main/java/okhttp3/recipes",
          "$prefix/samples/guide/src/main/java/okhttp3/recipes/kt",
        ).map { File(it) }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. cmd/bucket-versioning.go

    }
    
    // PrefixSuspended returns true if the given prefix matches an excluded prefix
    // pattern. This is part of a MinIO versioning configuration extension.
    func (sys *BucketVersioningSys) PrefixSuspended(bucket, prefix string) bool {
    	vc, err := sys.Get(bucket)
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    
    	return vc.PrefixSuspended(prefix)
    }
    
    // Get returns stored bucket policy
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 2.6K bytes
    - Viewed (0)
Back to top