MCPcopy
hub / github.com/Fission-AI/OpenSpec / joinStorePath

Function joinStorePath

src/core/store/foundation.ts:73–75  ·  view source on GitHub ↗
(basePath: string, ...segments: string[])

Source from the content-addressed store, hash-verified

71}
72
73function joinStorePath(basePath: string, ...segments: string[]): string {
74 return FileSystemUtils.joinPath(basePath, ...segments);
75}
76
77export function getStoresDir(options: StorePathOptions = {}): string {
78 return joinStorePath(options.globalDataDir ?? getGlobalDataDir(), STORES_DIR_NAME);

Callers 4

getStoresDirFunction · 0.85
getStoreRegistryPathFunction · 0.85
getStoreMetadataDirFunction · 0.85
getStoreMetadataPathFunction · 0.85

Calls 1

joinPathMethod · 0.80

Tested by

no test coverage detected