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

Method getToken

src/core/IndividualHatMap.ts:61–64  ·  view source on GitHub ↗
(hatStyle: HatStyleName, character: string)

Source from the content-addressed store, hash-verified

59 }
60
61 getToken(hatStyle: HatStyleName, character: string) {
62 this.checkExpired();
63 return this.map[HatTokenMap.getKey(hatStyle, character)];
64 }
65
66 clear() {
67 this.map = {};

Callers

nothing calls this directly

Calls 2

checkExpiredMethod · 0.95
getKeyMethod · 0.80

Tested by

no test coverage detected