MCPcopy Create free account
hub / github.com/arctic-cli/interface / getDirectory

Function getDirectory

packages/ui/src/components/message-part.tsx:43–46  ·  view source on GitHub ↗
(path: string | undefined)

Source from the content-addressed store, hash-verified

41}
42
43function getDirectory(path: string | undefined) {
44 const data = useData()
45 return relativizeProjectPaths(_getDirectory(path), data.directory)
46}
47
48export function registerPartComponent(type: string, component: PartComponent) {
49 PART_MAPPING[type] = component

Callers

nothing calls this directly

Calls 1

relativizeProjectPathsFunction · 0.85

Tested by

no test coverage detected