MCPcopy Create free account
hub / github.com/winfunc/opcode / navigateToDirectory

Function navigateToDirectory

src/components/FilePicker.tsx:328–331  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

326 };
327
328 const navigateToDirectory = (path: string) => {
329 setCurrentPath(path);
330 setPathHistory(prev => [...prev, path]);
331 };
332
333 const navigateBack = () => {
334 if (pathHistory.length > 1) {

Callers 2

handleKeyDownFunction · 0.85
handleEntryDoubleClickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected