Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 443 for glob (0.15 sec)

  1. cmd/storage-rest-server.go

    	if !s.IsValid(w, r) {
    		return
    	}
    	volume := r.Form.Get(storageRESTVolume)
    	filePath := r.Form.Get(storageRESTFilePath)
    	glob := r.Form.Get(storageRESTGlob)
    	done := keepHTTPResponseAlive(w)
    	stats, err := s.getStorage().StatInfoFile(r.Context(), volume, filePath, glob == "true")
    	done(err)
    	if err != nil {
    		return
    	}
    	for _, si := range stats {
    		msgp.Encode(w, &si)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    var exitCode = 0
    
    func Check(t *testing.T) {
    	checkFiles, err := filepath.Glob(filepath.Join(testenv.GOROOT(t), "api/go1*.txt"))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var nextFiles []string
    	if v := runtime.Version(); strings.Contains(v, "devel") || strings.Contains(v, "beta") {
    		next, err := filepath.Glob(filepath.Join(testenv.GOROOT(t), "api/next/*.txt"))
    		if err != nil {
    			t.Fatal(err)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  3. docs/bucket/versioning/README.md

    ### Solution
    
    To exclude objects under a list of prefix (glob) patterns from being versioned, you can send the following versioning configuration with Status set to `Enabled`.
    
    ```
    <VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
            <Status>Enabled</Status>
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 04 21:43:52 GMT 2023
    - 11.9K bytes
    - Viewed (1)
  4. docs/bucket/replication/README.md

            </ExcludedPrefixes>
    
            <!-- .. up to 10 prefixes in all -->
    </VersioningConfiguration>
    ```
    
    In the above sample config, objects under prefixes matching any of the `ExcludedPrefixes` glob patterns will neither be versioned nor replicated.
    
    ### SSE-C Encryption
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 24 23:46:33 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  5. cmd/prepare-storage.go

    			pathJoin(diskPath, minioMetaTmpBucket),
    			err))
    	}
    
    	// Delete all temporary files created for DirectIO write check
    	files, _ := filepath.Glob(filepath.Join(diskPath, ".writable-check-*.tmp"))
    	for _, file := range files {
    		go removeAll(file)
    	}
    
    	// Remove the entire folder in case there are leftovers that didn't get cleaned up before restart.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  6. misc/go_android_exec/main.go

    				return 0, err
    			}
    			if err := adbCopyTree(deviceCwd, importPath); err != nil {
    				return 0, err
    			}
    
    			// Copy .go files from the package.
    			goFiles, err := filepath.Glob("*.go")
    			if err != nil {
    				return 0, err
    			}
    			if len(goFiles) > 0 {
    				args := append(append([]string{"push"}, goFiles...), deviceCwd)
    				if err := adb(args...); err != nil {
    					return 0, err
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  7. configure.py

      if is_windows():
        if int(environ_cp.get('TF_NEED_TENSORRT', False)):
          cuda_libraries.append('tensorrt')
          print('WARNING: TensorRT support on Windows is experimental\n')
    
      paths = glob.glob('**/third_party/gpus/find_cuda_config.py', recursive=True)
      if not paths:
        raise FileNotFoundError(
            "Can't find 'find_cuda_config.py' script inside working directory")
      proc = subprocess.Popen(
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. docs/debugging/xl-meta/main.go

    			args = []string{"xl.meta"}
    		}
    		var files []string
    
    		for _, pattern := range args {
    			if pattern == "-" {
    				files = append(files, pattern)
    				continue
    			}
    			found, err := filepathx.Glob(pattern)
    			if err != nil {
    				return err
    			}
    			if len(found) == 0 {
    				return fmt.Errorf("unable to find file %v", pattern)
    			}
    			files = append(files, found...)
    		}
    		if len(files) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  9. cmd/xl-storage.go

    	}
    	return nil
    }
    
    func (s *xlStorage) StatInfoFile(ctx context.Context, volume, path string, glob bool) (stat []StatInfo, err error) {
    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return stat, err
    	}
    
    	files := []string{pathJoin(volumeDir, path)}
    	if glob {
    		files, err = filepathx.Glob(filepath.Join(volumeDir, path))
    		if err != nil {
    			return nil, err
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. misc/ios/go_ios_exec.go

    	patterns := []string{fmt.Sprintf("%s (%s)", iosVer, buildVer), fmt.Sprintf("%s (*)", iosVer), fmt.Sprintf("%s*", iosVer)}
    	for _, pattern := range patterns {
    		matches, err := filepath.Glob(filepath.Join(sdkBase, pattern, "DeveloperDiskImage.dmg"))
    		if err != nil {
    			return "", fmt.Errorf("findDevImage: %v", err)
    		}
    		if len(matches) > 0 {
    			return matches[0], nil
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
Back to top