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

Function exists

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

Source from the content-addressed store, hash-verified

78};
79
80const exists = (file) =>
81 access(file).then(
82 () => true,
83 () => false
84 );
85
86const keyOf = ({ scope, realm, niche, family }) =>
87 `${scope}:${scope === "realm" ? realm : niche}:${family}`;

Callers 1

rebuildFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected