Assure that a directory path exists.
- Parameters:
-
| dir | The path which is required to exist. |
| prefix | An (optional) prefix which should not be created if non existent. prefix is prepended to dir if supplied. |
- Returns:
- true in case the directoy exists (or was created), false otherwise.