MCPcopy
hub / github.com/sveltejs/kit / hooks.server.js

File hooks.server.js

packages/kit/test/apps/basics/src/hooks.server.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { building, dev } from '$app/environment';
2import { error, isHttpError, redirect } from '@sveltejs/kit';
3import { sequence } from '@sveltejs/kit/hooks';
4import fs from 'node:fs';

Callers

nothing calls this directly

Calls 6

sequenceFunction · 0.90
errorFunction · 0.90
redirectFunction · 0.90
getRequestEventFunction · 0.90
setMethod · 0.80
resolveFunction · 0.50

Tested by

no test coverage detected