MCPcopy Index your code
hub / github.com/outerbase/studio / getDocs

Method getDocs

src/outerbase-cloud/query-driver.ts:111–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109 }
110
111 async getDocs(): Promise<SavedDocGroupByNamespace[]> {
112 const ns = await this.getNamespaces();
113
114 return ns.map((n) => {
115 return {
116 namespace: n,
117 docs: this.cacheDocs[n.id] ?? [],
118 };
119 });
120 }
121
122 async updateDoc(id: string, data: SavedDocInput): Promise<SavedDocData> {
123 await this.getNamespaces();

Callers 2

RemoveNamespaceDialogFunction · 0.45
SavedDocTabFunction · 0.45

Calls 1

getNamespacesMethod · 0.95

Tested by

no test coverage detected