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

Function transform

src/lib/fileList.js:119–119  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

117export default function files(dir) {
118 const listedDirs = [];
119 let transform = (item) => item;
120 if (typeof dir === "string") {
121 for (const item of Object.values(filesTree)) {
122 const found = getFile(dir, item);

Callers 1

flattenTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected