()
| 50 | } |
| 51 | |
| 52 | func (e *commandError) Error() string { |
| 53 | return e.Msg + " " + e.File + ": " + e.Err.Error() |
| 54 | } |
| 55 | |
| 56 | // moveFile renames the file from src to dst. If renaming doesn't work (for |
| 57 | // example, the rename crosses a filesystem boundary), the file is copied and |