MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / listTree.ts

File listTree.ts

packages/web/src/features/tools/listTree.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { getRepoInfoByName } from "@/actions";
2import { FileTreeNode, getTree } from "@/features/git";
3import { isServiceError } from "@/lib/utils";
4import { CodeHostType } from "@sourcebot/db";

Callers

nothing calls this directly

Calls 8

getRepoInfoByNameFunction · 0.90
isServiceErrorFunction · 0.90
getTreeFunction · 0.90
normalizeTreePathFunction · 0.85
buildTreeNodeIndexFunction · 0.85
joinTreePathFunction · 0.85
sortTreeEntriesFunction · 0.85
renderEntriesFunction · 0.85

Tested by

no test coverage detected