bugscpp.processor.core.data.Worktree¶
- class Worktree(project_name: str, index: int, buggy: bool = False, workspace: str = '/home/runner/work/bugscpp/bugscpp/docs')[source]¶
Bases:
object
Dataclass to manage host and container directory structure.
- __init__(project_name: str, index: int, buggy: bool = False, workspace: str = '/home/runner/work/bugscpp/bugscpp/docs') None ¶
Methods
__init__
(project_name, index[, buggy, workspace])Attributes
Return base path which will be used to test and build defect taxonomies
True if the project is configured as buggy, otherwise False.
Return path to which is mounted inside docker
Return path from which is mounted
Return suffix path which is appended to base path
The workspace path string.
The name of the defect taxonomy.
The index number of taxonomy.
- property base: pathlib.Path¶
Return base path which will be used to test and build defect taxonomies
- buggy: bool = False¶
True if the project is configured as buggy, otherwise False.
- property container: pathlib.PurePosixPath¶
Return path to which is mounted inside docker
- property host: pathlib.Path¶
Return path from which is mounted
- index: int¶
The index number of taxonomy.
- project_name: str¶
The name of the defect taxonomy.
- property suffix: pathlib.Path¶
Return suffix path which is appended to base path
- workspace: str = '/home/runner/work/bugscpp/bugscpp/docs'¶
The workspace path string.