Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ValidPath (0.07 sec)

  1. cmd/batch-replicate.go

    	Path     string                        `yaml:"path" json:"path"`
    	Creds    BatchJobReplicateCredentials  `yaml:"credentials" json:"credentials"`
    }
    
    // ValidPath returns true if path is valid
    func (t BatchJobReplicateTarget) ValidPath() bool {
    	return t.Path == "on" || t.Path == "off" || t.Path == "auto" || t.Path == ""
    }
    
    // BatchJobReplicateSource describes source element of the replication job that is
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    // using the semantics of fs.FS.Open:
    // paths are always slash separated, with no
    // leading / or ../ elements.
    func (r *Reader) Open(name string) (fs.File, error) {
    	r.initFileList()
    
    	if !fs.ValidPath(name) {
    		return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrInvalid}
    	}
    	e := r.openLookup(name)
    	if e == nil {
    		return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist}
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    		return errInvalidArgument
    	}
    
    	if r.Source.Endpoint != "" && !r.Source.Type.isMinio() && !r.Source.ValidPath() {
    		return errInvalidArgument
    	}
    
    	if r.Target.Endpoint != "" && !r.Target.Type.isMinio() && !r.Target.ValidPath() {
    		return errInvalidArgument
    	}
    
    	if !r.Target.Creds.Empty() {
    		if err := r.Target.Creds.Validate(); err != nil {
    			return err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  4. api/go1.16.txt

    pkg io/fs, func ReadDir(FS, string) ([]DirEntry, error)
    pkg io/fs, func ReadFile(FS, string) ([]uint8, error)
    pkg io/fs, func Stat(FS, string) (FileInfo, error)
    pkg io/fs, func Sub(FS, string) (FS, error)
    pkg io/fs, func ValidPath(string) bool
    pkg io/fs, func WalkDir(FS, string, WalkDirFunc) error
    pkg io/fs, method (*PathError) Error() string
    pkg io/fs, method (*PathError) Timeout() bool
    pkg io/fs, method (*PathError) Unwrap() error
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
Back to top