MCPcopy Create free account
hub / github.com/cursorless-dev/cursorless / getActiveMap

Method getActiveMap

src/core/HatTokenMap.ts:67–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 }
66
67 private async getActiveMap() {
68 // NB: We need to take a snapshot of the hat map before we make any
69 // modifications if it is the beginning of the phrase
70 await this.maybeTakePrePhraseSnapshot();
71
72 return this.activeMap;
73 }
74
75 /**
76 * Returns a transient, read-only hat map for use during the course of a

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected