package transfer import "errors" // Prepare refuses a request with one of these (wrapped with the path). var ( ErrSameFile = errors.New("source and target are the same file") ErrIntoItself = errors.New("cannot copy a directory into itself") ErrTargetNotDir = errors.New("target is not a directory") ErrDuplicateName = errors.New("two sources have the same name") ErrReadOnly = errors.New("read-only file system") ErrAborted = errors.New("transfer aborted") ) // ErrUnsupportedMove is temporary (task 3.5). var ErrUnsupportedMove = errors.New("move is not implemented yet")