Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
117
export
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
flattenTree
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected