MCPcopy
hub / github.com/opentrace/opentrace / isManifestFile

Function isManifestFile

ui/src/components/pipeline/parser/manifestParser.ts:54–58  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

52
53/** Returns true if the file path is a supported dependency manifest. */
54export function isManifestFile(path: string): boolean {
55 const basename = path.split('/').pop() ?? '';
56 if (LOCK_BASENAMES.has(basename)) return false;
57 return MANIFEST_BASENAMES.has(basename);
58}
59
60/** Dispatch to the correct parser based on filename. */
61export function parseManifest(

Callers 2

executeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected