aces.operations.directory¶
Holds bespoke operations related to directories
Module Contents¶
Functions¶
|
Perform checks on the target working directory. If it does not exist |
|
Check and if necessary create a directory |
Attributes¶
- aces.operations.directory.setup_chdir_workdir(workdir: pathlib.Path | str | None = None) pathlib.Path[source]¶
Perform checks on the target working directory. If it does not exist it will be created, and execution will be switched to take placce in the target
- Args:
workdir (Optional[Union[Path,str]], optional): Location where work will be carried out. If None the current working directory is used. Defaults to None.
- Returns:
Path: The resolved working directory