I'm implementing Wasi for AssemblyScript and currently I'm confused with the API for creating a directory. Is it safe to assume that by default trying to create a directory, whose parent(s) don't exist that it would fail?
Also what is the best way to determine if a file or directory exists?
I'm implementing Wasi for AssemblyScript and currently I'm confused with the API for creating a directory. Is it safe to assume that by default trying to create a directory, whose parent(s) don't exist that it would fail?
Also what is the best way to determine if a file or directory exists?