MCPcopy Create free account
hub / github.com/MirrowApp/mirrow / createDirectiveId

Method createDirectiveId

packages/core/src/compiler/parser.ts:892–895  ·  view source on GitHub ↗
(keyword: string, position: SourcePosition)

Source from the content-addressed store, hash-verified

890 }
891
892 private createDirectiveId(keyword: string, position: SourcePosition): string {
893 const seed = `${keyword}:${position.line}:${position.column}`;
894 return createHash("sha256").update(seed).digest("hex").slice(0, 16);
895 }
896
897 private verifyAttributes(
898 keyword: Keyword,

Callers 1

collectBlockEntriesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected