bool = true
Create the directory specified in
path, with creation rules depending on parameter:
true, the whole path is targeting the directory is created, and no errors are emitted if the directory already exists; when
false, only the final directory in the path is created, and errors are emitted if a parent is missing, or the final directory already exists.
If creation error happens,
failure is emitted and
message contains text of the related text of error(s).