MCPcopy Create free account
hub / github.com/Make-md/makemd / createTable

Method createTable

src/core/spaceManager/spaceManager.ts:212–216  ·  view source on GitHub ↗
(path: string, schema: SpaceTableSchema)

Source from the content-addressed store, hash-verified

210 }
211
212 public createTable (path: string, schema: SpaceTableSchema) {
213
214 return this.adapterForPath(path).createTable(path, schema).then(f =>
215 this.superstate.reloadContextByPath(path, { force: true, calculate: true }));
216 }
217
218 public saveTableSchema (path: string, schemaId: string, saveSchema: (prev: SpaceTableSchema) => SpaceTableSchema) {
219

Callers

nothing calls this directly

Calls 3

adapterForPathMethod · 0.95
createTableMethod · 0.65
reloadContextByPathMethod · 0.45

Tested by

no test coverage detected