Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for ErrExist (2.28 sec)

  1. src/syscall/syscall_unix.go

    			return s
    		}
    	}
    	return "errno " + itoa.Itoa(int(e))
    }
    
    func (e Errno) Is(target error) bool {
    	switch target {
    	case oserror.ErrPermission:
    		return e == EACCES || e == EPERM
    	case oserror.ErrExist:
    		return e == EEXIST || e == ENOTEMPTY
    	case oserror.ErrNotExist:
    		return e == ENOENT
    	case errorspkg.ErrUnsupported:
    		return e == ENOSYS || e == ENOTSUP || e == EOPNOTSUPP
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/syscall/syscall_windows.go

    )
    
    func (e Errno) Is(target error) bool {
    	switch target {
    	case oserror.ErrPermission:
    		return e == ERROR_ACCESS_DENIED ||
    			e == EACCES ||
    			e == EPERM
    	case oserror.ErrExist:
    		return e == ERROR_ALREADY_EXISTS ||
    			e == ERROR_DIR_NOT_EMPTY ||
    			e == ERROR_FILE_EXISTS ||
    			e == EEXIST ||
    			e == ENOTEMPTY
    	case oserror.ErrNotExist:
    		return e == ERROR_FILE_NOT_FOUND ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(FileMode).IsRegular", Method, 16},
    		{"(FileMode).Perm", Method, 16},
    		{"(FileMode).String", Method, 16},
    		{"(FileMode).Type", Method, 16},
    		{"DirEntry", Type, 16},
    		{"ErrClosed", Var, 16},
    		{"ErrExist", Var, 16},
    		{"ErrInvalid", Var, 16},
    		{"ErrNotExist", Var, 16},
    		{"ErrPermission", Var, 16},
    		{"FS", Type, 16},
    		{"File", Type, 16},
    		{"FileInfo", Type, 16},
    		{"FileInfoToDirEntry", Func, 17},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top