MCPcopy Create free account
hub / github.com/Microck/opencode-studio / getSyncStatus

Function getSyncStatus

client-next/src/lib/api.ts:397–400  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

395}
396
397export async function getSyncStatus(): Promise<SyncStatus> {
398 const { data } = await api.get<SyncStatus>('/sync/status');
399 return data;
400}
401
402export async function setSyncConfig(config: { autoSync?: boolean }): Promise<{ success: boolean; autoSync: boolean }> {
403 const { data } = await api.post('/sync/config', config);

Callers 2

AppProviderFunction · 0.90
getDebugInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected