mirror of
https://github.com/morluto/rea.git
synced 2026-11-20 13:45:30 +00:00
9 lines
405 B
TypeScript
9 lines
405 B
TypeScript
import type { ElectronCallPath } from "../../domain/javascript/electronStaticAnalysisTypes.js";
|
|
import { digestCanonicalValue } from "../../domain/canonicalDigest.js";
|
|
|
|
/** Keep wrapper-path identity source-scoped across both graph projections. */
|
|
export const electronCallPathId = (
|
|
filePath: string,
|
|
path: ElectronCallPath,
|
|
): string => digestCanonicalValue([filePath, path], "Electron call path");
|