MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / posixRel

Function posixRel

packages/setupWizard/src/localRepos.ts:150–150  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

148 });
149
150 const posixRel = (p: string): string => relative(hostPath, p).split('\\').join('/');
151
152 const allSelected = selected.length === repos.length;
153 const allAtDepthOne = repos.every((p) => !posixRel(p).includes('/'));

Callers 1

collectLocalReposConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected