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

Method serialize

contextKeyExpr/src/contextkey.ts:888–893  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

886 }
887
888 public serialize(): string {
889 const value = this.regexp
890 ? `/${this.regexp.source}/${this.regexp.ignoreCase ? 'i' : ''}`
891 : '/invalid/';
892 return `${this.key} =~ ${value}`;
893 }
894
895 public keys(): string[] {
896 return [this.key];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected