MCPcopy Create free account
hub / github.com/chieapp/chie / deserialize

Method deserialize

src/controller/window-manager.ts:46–51  ·  view source on GitHub ↗
(data: WindowManagerData)

Source from the content-addressed store, hash-verified

44 }
45
46 deserialize(data: WindowManagerData) {
47 if (typeof data != 'object') // accepts empty data
48 data = {};
49 this.#chatWindows.deserialize(data.chatWindows);
50 this.#namedWindows.deserialize(data.windows);
51 }
52
53 serialize(): WindowManagerData {
54 return {

Callers

nothing calls this directly

Calls 1

deserializeMethod · 0.65

Tested by

no test coverage detected