MCPcopy Create free account
hub / github.com/Wscats/vscode-explore / deserialize

Function deserialize

contextKeyExpr/src/contextkey.ts:120–126  ·  view source on GitHub ↗
(serialized: string | null | undefined, strict: boolean = false)

Source from the content-addressed store, hash-verified

118 }
119
120 public static deserialize(serialized: string | null | undefined, strict: boolean = false): ContextKeyExpression | undefined {
121 if (!serialized) {
122 return undefined;
123 }
124
125 return this._deserializeOrExpression(serialized, strict);
126 }
127
128 private static _deserializeOrExpression(serialized: string, strict: boolean): ContextKeyExpression | undefined {
129 let pieces = serialized.split('||');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected