Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for ValidPath (0.09 seconds)

  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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 01 12:53:30 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            if (StringUtil.isBlank(path)) {
                return true;
            }
            // Path must match one of the configured virtual host paths
            for (final String validPath : ComponentUtil.getVirtualHostHelper().getVirtualHostPaths()) {
                if (path.equals(validPath)) {
                    return true;
                }
            }
            // Also allow "/" as a valid path (used in loadJspFileNameItems for blank keys)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  3. 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}
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 28.5K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  5. 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
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Click Count (0)
Back to Top