suspend fun DirectoryEntry.getDirectory(path: String, create: Boolean = true, exclusive: Boolean = false): Result<DirectoryEntry, FileException>
Get or create a directory in a given parent directory.
create
- Used to indicate that the user wants to create a directory if it was not previously there.
exclusive
- Fail if the target path directory already exists.