fabricatio_workspace.capabilities.workspace

This module contains the capabilities for the workspace.

Classes

Workspace

This class contains the capabilities for the workspace.

Module Contents

class fabricatio_workspace.capabilities.workspace.Workspace

This class contains the capabilities for the workspace.

fork(repo_path: str | pathlib.Path, to: str | pathlib.Path, branch_name: str, base_branch: str | None = None, exist_ok: bool = False) pathlib.Path

Fork a worktree.

commit(repo_path: str | pathlib.Path, msg: str, files: None | List[str]) str

Commit staged changes.