MCPcopy Create free account
hub / github.com/TanStack/ai / at

Function at

packages/ai-sandbox/src/git-exec.ts:47–51  ·  view source on GitHub ↗
(dir?: string)

Source from the content-addressed store, hash-verified

45 defaultRoot: string,
46): SandboxGit {
47 const at = (dir?: string): string => {
48 const d = dir ?? defaultRoot
49 assertNoLeadingDash(d, 'dir')
50 return q(d)
51 }
52
53 return {
54 clone: async ({ url, dir, ref, auth, depth }) => {

Callers 1

createExecBackedGitFunction · 0.85

Calls 2

assertNoLeadingDashFunction · 0.85
qFunction · 0.70

Tested by

no test coverage detected