MCPcopy
hub / github.com/opactorai/Claudable / ensureProjectRepository

Function ensureProjectRepository

lib/services/github.ts:132–136  ·  view source on GitHub ↗
(projectId: string, repoPath?: string | null)

Source from the content-addressed store, hash-verified

130}
131
132export async function ensureProjectRepository(projectId: string, repoPath?: string | null) {
133 const resolved = resolveProjectRepoPath(projectId, repoPath);
134 await fs.mkdir(resolved, { recursive: true });
135 return resolved;
136}
137
138export async function getGithubRepositoryDetails(owner: string, repo: string): Promise<GitHubRepositoryInfo> {
139 const token = await getPlainServiceToken('github');

Callers 2

connectProjectToGitHubFunction · 0.85
pushProjectToGitHubFunction · 0.85

Calls 1

resolveProjectRepoPathFunction · 0.85

Tested by

no test coverage detected