from pathlib import Path
from typing import Union
[docs]class FileSystemUtilities:
[docs] @staticmethod
def create_directory(path: Union[Path, str]):
"""
Create directory for the given path. This will create all parent directories as needed.
"""
Path(path).mkdir(exist_ok=True, parents=True)