testexec#
- class ExecutionSpace(root: pathlib.Path, path: pathlib.Path, session: str | None = None)#
Bases:
object- root: Path#
- path: Path#
- session: str | None = None#
- asdict() dict[str, Any]#
- classmethod from_dict(state: dict[str, Any]) ExecutionSpace#
- property dir: Path#
- create(exist_ok: bool = False) None#
- remove(missing_ok: bool = False) None#
- enter() Generator[None, None, None]#
- openfile(name: Path | str, mode: str = 'r') Generator[IO[Any], None, None]#
- exists() bool#
- touch(name: Path | str, exist_ok: bool = False) None#
- unlink(name: Path | str, missing_ok: bool = False) None#
- copy(src: Path, dst: Path | str | None = None) None#
Copy the file at
srcto this workspace with namedst
- link(src: Path, dst: Path | str | None = None) None#
Symlink the file at
srcto this workspace with namedst
- joinpath(*parts: Path | str) Path#