MCPcopy Create free account
hub / github.com/cloudflare/computer / Sync

Interface Sync

packages/computer/src/shell.ts:139–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137// pull() returns the dofs ApplyResult so the shell can surface
138// skipped read-only entries on ExecResult.
139export interface Sync {
140 push(): Promise<number>;
141 pull(): Promise<ApplyResult>;
142 onPullPending?(error: unknown): Promise<void>;
143}
144
145export class WorkspaceShell {
146 readonly #shell: ShellRPC;

Callers 12

canonicalizePathFunction · 0.65
onChangeFunction · 0.65
drainChangesFunction · 0.65
RecordingStorageClass · 0.65
pathOfFunction · 0.65
pathsOfFunction · 0.65
drainFunction · 0.65
runPostPullFunction · 0.65
workspace.test.tsFile · 0.65
runPostPullFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected