MCPcopy Create free account
hub / github.com/ClangBuiltLinux/tc-build / __init__

Method __init__

tc_build/source.py:98–103  ·  view source on GitHub ↗
(self, repo: Path)

Source from the content-addressed store, hash-verified

96
97class GitSourceManager:
98 def __init__(self, repo: Path) -> None:
99 self.repo: Path = repo
100
101 # Will be set by derived classes but used here
102 self._pretty_name: str = ''
103 self._repo_url: str = ''
104
105 def download(self, ref: str, shallow: bool = False) -> None:
106 if self.repo.exists():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected