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

Function modesByName

src/main.js:948–955  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

946 .filter(Boolean);
947 },
948 get modesByName() {
949 const source = getModesByName();
950 const result = {};
951 Object.keys(source).forEach((name) => {
952 result[name] = toAceMode(source[name]);
953 });
954 return result;
955 },
956 getModeForPath(path) {
957 return toAceMode(getModeForPath(String(path || "")));
958 },

Callers

nothing calls this directly

Calls 2

getModesByNameFunction · 0.90
toAceModeFunction · 0.85

Tested by

no test coverage detected