MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / getPath

Function getPath

apps/baseai.dev/src/scripts/set-runtime.js:3–8  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

1const fs = require('fs');
2
3function getPath(type) {
4 return [
5 `${process.cwd()}/src/app/${type}/[section]/page.tsx`,
6 `${process.cwd()}/src/app/${type}/[section]/[slug]/page.tsx`
7 ];
8}
9
10async function main() {
11 const runTime = `export const runtime = 'edge';\n\n`;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected