MCPcopy
hub / github.com/BuilderIO/gpt-crawler / nextFileName

Function nextFileName

src/core.ts:179–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177 Buffer.byteLength(str, "utf-8");
178
179 const nextFileName = (): string =>
180 `${config.outputFileName.replace(/\.json$/, "")}-${fileCounter}.json`;
181
182 const writeBatchToFile = async (): Promise<void> => {
183 nextFileNameString = nextFileName();

Callers 1

writeBatchToFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected