File module

make_directory_if_it_does_not_exist

procedure · 1 overloadSource

Makes sure the directory name exists and returns whether it does afterwards: an existing directory is a success, a file of that name or (without recursive) a missing parent is a failure. With recursive, missing parents are created too. Both / and \ work as separators.

make_directory_if_it_does_not_exist :: (
    name: string,
    recursive := false
) -> directory_now_exists: bool

Parameters

name: string
recursive := false

Returns

directory_now_exists: bool

See also