createDir
Signature
Section titled “Signature”function createDir(string calldata path, bool recursive) external;Description
Section titled “Description”Creates a new, empty directory at the provided path. This cheatcode will revert in the following situations, but is not limited to just these cases:
- User lacks permissions to modify
path. - A parent of the given path doesn’t exist and
recursiveis false. pathalready exists andrecursiveis false.pathis relative to the project root.