pub fn CreateDirectory(
Path: PathBuf,
Recursive: bool,
) -> ActionEffect<Arc<dyn FileSystemWriter>, CommonError, ()>Expand description
Creates an effect that, when executed, will create a new directory at the specified path.
It uses the FileSystemWriter capability from the environment to perform
the actual file I/O.
§Parameters
Path: ThePathBufof the directory to create.Recursive: Iftrue, creates all parent directories as needed.
§Returns
An ActionEffect that resolves to () on success.