MCPcopy Create free account
hub / github.com/Effect-TS/effect / constructor

Method constructor

packages/effect/test/HashMap.test.ts:481–481  ·  view source on GitHub ↗
(readonly id: string, readonly hash: number)

Source from the content-addressed store, hash-verified

479 describe("regressions", () => {
480 class FixedHashKey implements Equal.Equal {
481 constructor(readonly id: string, readonly hash: number) {}
482
483 [Equal.symbol](that: Equal.Equal): boolean {
484 return that instanceof FixedHashKey && this.id === that.id

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected