MCPcopy
hub / github.com/freshframework/fresh / handler

Function handler

packages/plugin-vite/src/plugins/server_snapshot.ts:129–133  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

127 id: /fresh:server-snapshot/,
128 },
129 handler(id) {
130 if (id === modName) {
131 return `\0${modName}`;
132 }
133 },
134 },
135 load: {
136 filter: {

Callers

nothing calls this directly

Calls 11

getBuildIdFunction · 0.90
crawlFsItemFunction · 0.85
specToNameFunction · 0.85
pathToSpecFunction · 0.85
generateSnapshotServerFunction · 0.85
getUniqueNameMethod · 0.80
readTextFileMethod · 0.80
isDirectoryMethod · 0.80
walkMethod · 0.80
addMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected