We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When opening a new file for writing using the FileIO Test implementation I get a FileNotFoundException. According to Microsoft docs the File.OpenWrite() method used should allow that: https://learn.microsoft.com/en-us/dotnet/api/System.IO.File.OpenWrite?view=net-7.0#remarks
FileNotFoundException
File.OpenWrite()
The FileMode is currently set to Open instead of OpenOrCreate in the test implementation.
Open
OpenOrCreate
Repro (this should not fail):
var effect = File<Runtime>.openWrite("c:\\file") | Consumer.mapM<Runtime, Stream, Unit>(_ => unitEff); var result = await effect.RunEffect().Run(Runtime.New()); result.ThrowIfFail();
The text was updated successfully, but these errors were encountered:
Fix for MemoryFS
70bb62b
Dropped MemoryFS and instead using tmp directory as a mock file-system #1297 #1298
Fix is done. Coming in next release: v5.0.0-beta-29
v5.0.0-beta-29
Sorry, something went wrong.
No branches or pull requests
When opening a new file for writing using the FileIO Test implementation I get a
FileNotFoundException
.According to Microsoft docs the
File.OpenWrite()
method used should allow that:https://learn.microsoft.com/en-us/dotnet/api/System.IO.File.OpenWrite?view=net-7.0#remarks
The FileMode is currently set to
Open
instead ofOpenOrCreate
in the test implementation.Repro (this should not fail):
The text was updated successfully, but these errors were encountered: