Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/sourcebot-dev/sourcebot
/ git.test.ts
File
git.test.ts
packages/backend/src/git.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ mkdtemp, rm, writeFile } from
"node:fs/promises"
;
2
import
{ join } from
"node:path"
;
3
import
{ tmpdir } from
"node:os"
;
4
import
{ execFileSync } from
"node:child_process"
;
Callers
nothing calls this directly
Calls
5
createTempRepo
Function · 0.85
commitFile
Function · 0.85
runGit
Function · 0.85
getTags
Function · 0.85
getBranches
Function · 0.85
Tested by
no test coverage detected