MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / onAddFile

Function onAddFile

src/palettes/findFile/index.js:77–79  ·  view source on GitHub ↗
({ name, url, path: visiblePath })

Source from the content-addressed store, hash-verified

75}
76
77function onAddFile({ name, url, path: visiblePath }) {
78 hintsModification?.add(hintItem(name, visiblePath, url));
79}
80
81function onRemoveFile({ name, url, path: visiblePath }) {
82 hintsModification?.remove(hintItem(name, visiblePath, url));

Callers

nothing calls this directly

Calls 2

hintItemFunction · 0.85
addMethod · 0.80

Tested by

no test coverage detected