Skip to content

Copy metadata when a MockFile is moved#559

Merged
fgreinacher merged 3 commits intoTestableIO:masterfrom
hangy:task/557
Feb 18, 2020
Merged

Copy metadata when a MockFile is moved#559
fgreinacher merged 3 commits intoTestableIO:masterfrom
hangy:task/557

Conversation

@hangy
Copy link
Copy Markdown
Contributor

@hangy hangy commented Feb 17, 2020

Instead of copying only the data array, use the constructor that clones the MockFile properties, too.

Fixes #557

@fgreinacher fgreinacher merged commit a9dc4a3 into TestableIO:master Feb 18, 2020
@fgreinacher
Copy link
Copy Markdown
Contributor

Thanks a ton, also for this one 👍

@hangy hangy deleted the task/557 branch February 19, 2020 17:56
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.

MockFile.Move does not preserve file metadata when moving a file

2 participants