Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isSystemCannotAccessErr (0.13 sec)

  1. pkg/volume/util/hostutil/hostutil_windows.go

    }
    
    // MakeRShared checks that given path is on a mount with 'rshared' mount
    // propagation. Empty implementation here.
    func (hu *HostUtil) MakeRShared(path string) error {
    	return nil
    }
    
    func isSystemCannotAccessErr(err error) bool {
    	if fserr, ok := err.(*fs.PathError); ok {
    		errno, ok := fserr.Err.(syscall.Errno)
    		return ok && errno == windows.ERROR_CANT_ACCESS_FILE
    	}
    
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top