spf13 / afero

A FileSystem Abstraction System for Go
Apache License 2.0
5.93k stars 508 forks source link

MemMapFS creates files even when directories do no exist #373

Open natebrennand opened 2 years ago

natebrennand commented 2 years ago

I intended to use MemMapFS to fully test my filesystem access in an application, but accidentally introduced a bug where I was writing to a file before creating the directory.

Is this mismatch in behavior intentional?