(repoUrl: string)
| 55 | } |
| 56 | |
| 57 | export 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected