MCPcopy Index your code
hub / github.com/subquery/subql / isFileReference

Function isFileReference

packages/common/src/project/utils.ts:40–42  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

38export const DEFAULT_GIT_IGNORE = '.gitignore';
39
40export function isFileReference(value: any): value is FileReference {
41 return value?.file && typeof value.file === 'string';
42}
43
44// Input manifest here, we might need to handler other error later on
45export function handleCreateSubqueryProjectError(err: Error, pjson: any, rawManifest: any, logger: Pino.Logger): void {

Callers 1

replaceFileReferencesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected