#149·afero

MemMapFs.Mkdir should error if parent path does not exist

Author: ts2909Created Nov 30, 2017Updated Jun 7, 2025
Labelsbug

MemMapFs.Mkdir happily creates the parent path if it is missing.

&MemFs().Mkdir("/tmp/abc/def",0777) should fail, as the parent directories do not yet exist.