Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for directories (0.22 sec)

  1. cmd/config-dir.go

    import (
    	"os"
    	"path/filepath"
    
    	homedir "github.com/mitchellh/go-homedir"
    )
    
    const (
    	// Default minio configuration directory where below configuration files/directories are stored.
    	defaultMinioConfigDir = ".minio"
    
    	// Directory contains below files/directories for HTTPS configuration.
    	certsDir = "certs"
    
    	// Directory contains all CA certificates other than system defaults for HTTPS.
    	certsCADir = "CAs"
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 3K bytes
    - Viewed (0)
  2. cmd/os_other.go

    					// file/directory.
    					if osIsNotExist(err) || isSysErrPathNotFound(err) ||
    						isSysErrTooManySymlinks(err) {
    						continue
    					}
    					return err
    				}
    
    				// Ignore symlinked directories.
    				if fi.IsDir() {
    					continue
    				}
    			}
    			if err = filter(fi.Name(), fi.Mode()); err == errDoneForNow {
    				// filtering requested to return by caller.
    				return nil
    			}
    		}
    	}
    	return nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. cmd/os_windows.go

    // the directory itself, if the dirPath doesn't exist this function doesn't return
    // an error.
    func readDirFn(dirPath string, filter func(name string, typ os.FileMode) error) error {
    	// Ensure we don't pick up files as directories.
    	globAll := filepath.Clean(dirPath) + `\*`
    	globAllP, err := syscall.UTF16PtrFromString(globAll)
    	if err != nil {
    		return errInvalidArgument
    	}
    	data := &syscall.Win32finddata{}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  4. cmd/os-readdir_test.go

    	sort.Strings(entries)
    
    	// Add entries slice for this test directory.
    	testResults = append(testResults, result{dir, entries})
    	return testResults
    }
    
    // Test to read non-empty directory with directories and files.
    func setupTestReadDirGeneric(t *testing.T) (testResults []result) {
    	dir := t.TempDir()
    	if err := os.MkdirAll(filepath.Join(dir, "mydir"), 0o777); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  5. cmd/metacache-walk.go

    			bytebufferpool.Put(sb)
    		}()
    
    		forward := ""
    		if len(opts.ForwardTo) > 0 && strings.HasPrefix(opts.ForwardTo, current) {
    			forward = strings.TrimPrefix(opts.ForwardTo, current)
    			// Trim further directories and trailing slash.
    			if idx := strings.IndexByte(forward, '/'); idx > 0 {
    				forward = forward[:idx]
    			}
    		}
    		if contextCanceled(ctx) {
    			return ctx.Err()
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. cmd/metacache-set.go

    	Recursive bool
    
    	// Separator to use.
    	Separator string
    
    	// Create indicates that the lister should not attempt to load an existing cache.
    	Create bool
    
    	// Include pure directories.
    	IncludeDirectories bool
    
    	// Transient is set if the cache is transient due to an error or being a reserved bucket.
    	// This means the cache metadata will not be persisted on disk.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  7. cmd/erasure-healing.go

    			}(disk)
    		}
    	}
    	wg.Wait()
    	return nil
    }
    
    // healObjectDir - heals object directory specifically, this special call
    // is needed since we do not have a special backend format for directories.
    func (er *erasureObjects) healObjectDir(ctx context.Context, bucket, object string, dryRun bool, remove bool) (hr madmin.HealResultItem, err error) {
    	storageDisks := er.getDisks()
    	storageEndpoints := er.getEndpoints()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. README.md

    see <https://min.io/docs/minio/linux/developers/minio-drivers.html> to view MinIO SDKs for supported languages.
    
    > NOTE: To deploy MinIO on with persistent storage, you must map local persistent directories from the host OS to the container using the `podman -v` option. For example, `-v /mnt/data:/data` maps the host OS drive at `/mnt/data` to `/data` on the container.
    
    ## macOS
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 14 17:51:34 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  9. cmd/metacache-stream.go

    // This can be used for managing breaking changes.
    //
    // For each element:
    // 1. Bool. If false at end of stream.
    // 2. String. Name of object. Directories contains a trailing slash.
    // 3. Binary. Blob of metadata. Length 0 on directories.
    // ... Next element.
    //
    // Streams can be assumed to be sorted in ascending order.
    // If the stream ends before a false boolean it can be assumed it was truncated.
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  10. docs/distributed/DESIGN.md

      multiple drives into a single large system, pass one directory per
      filesystem separated by space. You may also use a '...' convention
      to abbreviate the directory arguments. Remote directories in a
      distributed setup are encoded as HTTP(s) URIs.
    ```
    
    ## Common usage
    
    Standalone erasure coded configuration with 4 sets with 16 drives each.
    
    ```
    minio server dir{1...64}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 8K bytes
    - Viewed (0)
Back to top