Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isSysErrPathNotFound (0.53 sec)

  1. cmd/os_windows.go

    		}
    		return err
    	}
    	defer syscall.FindClose(handle)
    
    	for ; ; err = syscall.FindNextFile(handle, data) {
    		if err != nil {
    			if err == syscall.ERROR_NO_MORE_FILES {
    				break
    			} else {
    				if isSysErrPathNotFound(err) {
    					return nil
    				}
    				err = osErrToFileErr(&os.PathError{
    					Op:   "FindNextFile",
    					Path: dirPath,
    					Err:  err,
    				})
    				if err == errFileNotFound {
    					return nil
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
Back to top