MCPcopy
hub / github.com/Narcooo/inkos / bookDir

Method bookDir

packages/core/src/state/manager.ts:167–169  ·  view source on GitHub ↗
(bookId: string)

Source from the content-addressed store, hash-verified

165 }
166
167 bookDir(bookId: string): string {
168 return join(this.booksDir, bookId);
169 }
170
171 stateDir(bookId: string): string {
172 return join(this.bookDir(bookId), "story", "state");

Callers 15

createStudioServerFunction · 0.95
loadControlDocumentsMethod · 0.95
acquireBookLockMethod · 0.95
stateDirMethod · 0.95
loadBookConfigMethod · 0.95
saveBookConfigMethod · 0.95
ensureRuntimeStateMethod · 0.95
getNextChapterNumberMethod · 0.95
loadChapterIndexMethod · 0.95

Calls

no outgoing calls

Tested by 2

createRunnerFixtureFunction · 0.76
setupRollbackBookFunction · 0.36