Skip to content

Throw Exception Move and Copy - #299

Merged
jpreese merged 13 commits into
TestableIO:masterfrom
jpreese:fix/move-file-exception
Jul 7, 2018
Merged

jpreese merged 13 commits into
TestableIO:masterfrom
jpreese:fix/move-file-exception

Conversation

@jpreese

@jpreese jpreese commented Jul 7, 2018 •

Copy link
Copy Markdown
Member

Rebase of Alex's PR.

Alexander Pruss and others added 11 commits November 18, 2016 13:54
…n exception.

Implementation note - instead of using System.IO.FileAccess/FileMode, I
ended up creating an internal StreamType enum instead to keep the
interface simple. That's potentially something to change upon on review,
but I think it's good the way it is.
…down to make sure all related calls to Move and Copy made the same checks.

Copying and moving nonexistent sources now correctly throws an
exception.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant