MCPcopy Create free account
hub / github.com/pingdotgg/t3code / parseRemoteNames

Function parseRemoteNames

apps/server/src/git/remoteRefs.ts:12–14  ·  view source on GitHub ↗
(stdout: string)

Source from the content-addressed store, hash-verified

10}
11
12export function parseRemoteNames(stdout: string): ReadonlyArray<string> {
13 return parseRemoteNamesInGitOrder(stdout).toSorted((a, b) => b.length - a.length);
14}
15
16export function parseRemoteRefWithRemoteNames(
17 ref: string,

Callers 1

Calls 1

Tested by

no test coverage detected