MCPcopy Create free account
hub / github.com/Swaggermuffin64/VIM_GYM / encodeStateKey

Function encodeStateKey

backend/multiplayer/vimGraph.ts:187–189  ·  view source on GitHub ↗
(state: vimCursorState)

Source from the content-addressed store, hash-verified

185}
186
187function encodeStateKey(state: vimCursorState): string {
188 return `${state.offset}:${state.preferredX}`;
189}
190
191function decodeStateKey(key: string): vimCursorState {
192 const [offsetString, preferredXString] = key.split(':');

Callers 2

shortestVimSequenceLazyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected