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

Method getKey

src/core/HatTokenMap.ts:53–55  ·  view source on GitHub ↗
(hatStyle: HatStyleName, character: string)

Source from the content-addressed store, hash-verified

51 }
52
53 static getKey(hatStyle: HatStyleName, character: string) {
54 return `${hatStyle}.${character}`;
55 }
56
57 static splitKey(key: string) {
58 let [hatStyle, character] = key.split(".");

Callers 3

addTokenMethod · 0.80
getTokenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected