Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/sourcebot-dev/sourcebot
/ parseRefNames
Function
parseRefNames
packages/backend/src/git.ts:302–306 ·
view source on GitHub ↗
(refs: string)
Source
from the content-addressed store, hash-verified
300
}
301
302
const
parseRefNames = (refs: string) =>
303
refs
304
.split(
'\n'
)
305
.map((ref) => ref.trim())
306
.filter(Boolean);
307
308
const
getSortedRefs =
async
({
309
path,
Callers
1
getSortedRefs
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected