(path string)
| 463 | } |
| 464 | |
| 465 | func directoryWriteError(path string) error { |
| 466 | return &os.PathError{Op: "open", Path: path, Err: syscall.EISDIR} |
| 467 | } |
| 468 | |
| 469 | func namedPipeWriteError(path string) error { |
| 470 | return &os.PathError{Op: "open", Path: path, Err: fmt.Errorf("named pipes cannot be overwritten safely")} |