MCPcopy Create free account
hub / github.com/coleam00/remote-agentic-coding-system / findCodebaseByRepoUrl

Function findCodebaseByRepoUrl

src/db/codebases.ts:57–63  ·  view source on GitHub ↗
(repoUrl: string)

Source from the content-addressed store, hash-verified

55}
56
57export async function findCodebaseByRepoUrl(repoUrl: string): Promise<Codebase | null> {
58 const result = await pool.query<Codebase>(
59 'SELECT * FROM remote_agent_codebases WHERE repository_url = $1',
60 [repoUrl]
61 );
62 return result.rows[0] || null;
63}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected