feat: add repo parse job
This commit is contained in:
8
apps/worker/src/jobs/parse.ts
Normal file
8
apps/worker/src/jobs/parse.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { CodeStructure } from "@codeboard/shared";
|
||||
import { analyzeRepository } from "@codeboard/parser";
|
||||
|
||||
export async function parseRepository(
|
||||
localPath: string
|
||||
): Promise<CodeStructure> {
|
||||
return analyzeRepository(localPath);
|
||||
}
|
||||
Reference in New Issue
Block a user