MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / slugify

Function slugify

packages/queue/src/tasks/slugify.ts:7–17  ·  view source on GitHub ↗
(_: any, helpers: JobHelpers)

Source from the content-addressed store, hash-verified

5import { Logger } from '../helpers/logger';
6
7export const slugify = async (_: any, helpers: JobHelpers) => {
8 const keepAlive = new KeepAlive(helpers);
9 const logger = new Logger(helpers.logger);
10
11 keepAlive.start();
12 try {
13 await slugifyTask(logger);
14 } finally {
15 keepAlive.end();
16 }
17};
18
19async function slugifyTask(logger: Logger) {
20 let skip = 0;

Callers

nothing calls this directly

Calls 3

startMethod · 0.95
endMethod · 0.95
slugifyTaskFunction · 0.85

Tested by

no test coverage detected