MCPcopy
hub / github.com/Waishnav/devspace / WorkspaceStore

Interface WorkspaceStore

src/workspace-store.ts:23–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23export interface WorkspaceStore {
24 createSession(input: {
25 id: string;
26 root: string;
27 mode?: WorkspaceMode;
28 sourceRoot?: string;
29 baseRef?: string;
30 baseSha?: string;
31 managed?: boolean;
32 }): WorkspaceSession;
33 getSession(id: string): WorkspaceSession | undefined;
34 touchSession(id: string): void;
35 close?(): void;
36}
37
38export class SqliteWorkspaceStore implements WorkspaceStore {
39 private readonly database: DatabaseHandle;

Callers 4

getWorkspaceMethod · 0.65
getWorkspaceMethod · 0.65
closeMethod · 0.65

Implementers 1

SqliteWorkspaceStoresrc/workspace-store.ts

Calls

no outgoing calls

Tested by

no test coverage detected