MCPcopy 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
302const parseRefNames = (refs: string) =>
303 refs
304 .split('\n')
305 .map((ref) => ref.trim())
306 .filter(Boolean);
307
308const getSortedRefs = async ({
309 path,

Callers 1

getSortedRefsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected