Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsNotExist (0.16 sec)

  1. cmd/common-main.go

    	// relative to /run/secrets/ position.
    	if isFile(pathJoin("/run/secrets/", sp)) {
    		sp = pathJoin("/run/secrets/", sp)
    	}
    	credBuf, err := os.ReadFile(sp)
    	if err != nil {
    		if os.IsNotExist(err) { // ignore if file doesn't exist.
    			return "", nil
    		}
    		return "", err
    	}
    	return string(bytes.TrimSpace(credBuf)), nil
    }
    
    func loadEnvVarsFromFiles() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (3)
  2. cmd/xl-storage.go

    		case osIsPermission(err):
    			return nil, errDiskAccessDenied
    		case isSysErrIO(err):
    			return nil, errFaultyDisk
    		case isSysErrNotDir(err):
    			return nil, errDiskNotDir
    		case os.IsNotExist(err):
    			return nil, errDiskNotFound
    		}
    	}
    
    	return w, nil
    }
    
    func (s *xlStorage) openFileSync(filePath string, mode int, skipParent string) (f *os.File, err error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg os, func Getpid() int
    pkg os, func Getppid() int
    pkg os, func Getuid() int
    pkg os, func Getwd() (string, error)
    pkg os, func Hostname() (string, error)
    pkg os, func IsExist(error) bool
    pkg os, func IsNotExist(error) bool
    pkg os, func IsPathSeparator(uint8) bool
    pkg os, func IsPermission(error) bool
    pkg os, func Lchown(string, int, int) error
    pkg os, func Link(string, string) error
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top