MCPcopy Create free account
hub / github.com/dailydotdev/apps / realmForFile

Function realmForFile

packages/world-cli/src/dev.js:108–111  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

106};
107
108const realmForFile = (file) => {
109 const stem = basename(file, extname(file));
110 return REALMS.includes(stem) ? stem : null;
111};
112
113const frameFor = (report, target) => {
114 const payload = report.ok

Callers 1

rebuildFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected