MCPcopy
hub / github.com/codedogQBY/ReadAny / getPlatformService

Function getPlatformService

packages/core/src/services/platform.ts:154–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152}
153
154export function getPlatformService(): IPlatformService {
155 if (!_platformService) {
156 throw new Error("PlatformService not initialized. Call setPlatformService() at app startup.");
157 }
158 return _platformService;
159}
160
161/**
162 * Wait for platform service to be registered.

Callers 15

BookCard.tsxFile · 0.90
GroupCoverLayerFunction · 0.90
loadPasswordFunction · 0.90
resolveAppPathFunction · 0.90
ensureAppSubDirFunction · 0.90
saveCoverToAppDataFunction · 0.90
copyBookToAppDataFunction · 0.90
restoreDeletedMobileBookFunction · 0.90
library-store.tsFile · 0.90
hasAccessibleLocalFileFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected