Mojo function
makedirs
makedirs[PathLike: PathLike](path: PathLike, mode: Int = 511, exist_ok: Bool = 0)
Creates a specified leaf directory along with any necessary intermediate directories that don't already exist.
Parameters:
- βPathLike (
PathLike
): The a type conforming to the os.PathLike trait.
Args:
- βpath (
PathLike
): The path to the directory. - βmode (
Int
): The mode to create the directory with. - βexist_ok (
Bool
): Ignore error ifTrue
and path exists (defaultFalse
).
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
π What went wrong?