Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
createStudioServer
Function · 0.95
ensureControlDocuments
Method · 0.95
loadControlDocuments
Method · 0.95
resolveControlDocumentLanguage
Method · 0.95
acquireBookLock
Method · 0.95
stateDir
Method · 0.95
loadBookConfig
Method · 0.95
saveBookConfig
Method · 0.95
ensureRuntimeState
Method · 0.95
getNextChapterNumber
Method · 0.95
getPersistedChapterCount
Method · 0.95
loadChapterIndex
Method · 0.95
Calls
no outgoing calls
Tested by
2
createRunnerFixture
Function · 0.76
setupRollbackBook
Function · 0.36