fermilink.implement.git module

fermilink.implement.git.checkout_implement_branch(repo_dir, *, branch_name)[source]
Parameters:
  • repo_dir (Path)

  • branch_name (str)

Return type:

dict[str, str | bool | None]

fermilink.implement.git.ensure_worker_worktree(repo_dir, *, controller_branch, start_commit=None)[source]
Parameters:
  • repo_dir (Path)

  • controller_branch (str)

  • start_commit (str | None)

Return type:

dict[str, str | bool]

fermilink.implement.git.worker_branch_name(controller_branch)[source]
Parameters:

controller_branch (str)

Return type:

str

fermilink.implement.git.worker_storage_root(repo_dir)[source]
Parameters:

repo_dir (Path)

Return type:

Path

fermilink.implement.git.worker_worktree_path(repo_dir, *, controller_branch)[source]
Parameters:
  • repo_dir (Path)

  • controller_branch (str)

Return type:

Path