Skip to content

Feature/588 default virtual temp folder - #590

Merged
fgreinacher merged 6 commits into
TestableIO:masterfrom
IrisClasson:feature/588-default-virtual-temp-folder
May 6, 2020
Merged

fgreinacher merged 6 commits into
TestableIO:masterfrom
IrisClasson:feature/588-default-virtual-temp-folder

Conversation

@IrisClasson

Copy link
Copy Markdown
Contributor

As discussed in the issue #588 I've added a default temp directory to MockFileSystem (ping @fgreinacher )

I'm not 100% sure with my solution to use the previous GetTempPath as a fallback if the path passed in to the MockPath is null or empty (or the original constructor is called).

Let me know what you think, I'm torn but decided on the fallback as not to add a breaking change.

@fgreinacher fgreinacher left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Left some comments and will happily merge once those are addressed!

@IrisClasson

Copy link
Copy Markdown
Contributor Author

Thanks for the feedback and suggestions @fgreinacher ! I've pushed the changes

@fgreinacher
fgreinacher merged commit 29b4dba into TestableIO:master May 6, 2020
@fgreinacher

Copy link
Copy Markdown
Contributor

Thanks again!

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.

2 participants