MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / updateGuestWorkspace

Function updateGuestWorkspace

src/liveShare/shareSession.ts:168–174  ·  view source on GitHub ↗
(hostWorkspace: WorkspaceData)

Source from the content-addressed store, hash-verified

166
167// Call from host, pass parsed workspace file
168export function updateGuestWorkspace(hostWorkspace: WorkspaceData): void {
169 if (hostWorkspace) {
170 guestWorkspace = hostWorkspace;
171 void rWorkspace?.refresh();
172 console.info('[updateGuestWorkspace] Done');
173 }
174}
175
176// Instead of creating a file, we pass the base64 of the plot image
177// to the guest, and read that into an html page

Callers 1

shareCommands.tsFile · 0.90

Calls 1

refreshMethod · 0.65

Tested by

no test coverage detected