MCPcopy Create free account
hub / github.com/andylow92/file-system-like-github / refreshTreeAndCurrentFile

Function refreshTreeAndCurrentFile

apps/web/src/App.tsx:164–167  ·  view source on GitHub ↗
(path = selectedFilePath)

Source from the content-addressed store, hash-verified

162 }
163
164 async function refreshTreeAndCurrentFile(path = selectedFilePath) {
165 await refreshTree();
166 await refreshCurrentFile(path);
167 }
168
169 useEffect(() => {
170 void (async () => {

Callers 2

saveCurrentFileFunction · 0.85
AppFunction · 0.85

Calls 2

refreshTreeFunction · 0.85
refreshCurrentFileFunction · 0.85

Tested by

no test coverage detected