INNER CODE UNIT · JavaScript
path
AscensionGameDev/Intersect-Engine · Intersect.Server/wwwroot/js/assets.js:903
const path = parts.filter((_, i) => i <= depth).join('/');
next = {
id: encodeURIComponent(path),
Name: parts[depth],
Path: path,
Type: 'Directory',
children: [],
};
current.children.push(next);
}
current = next;
}
return current;
}
/**
*