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

Function getWorksetsDir

src/core/worksets.ts:63–68  ·  view source on GitHub ↗
(options: WorksetPathOptions = {})

Source from the content-addressed store, hash-verified

61}
62
63export function getWorksetsDir(options: WorksetPathOptions = {}): string {
64 return FileSystemUtils.joinPath(
65 options.globalDataDir ?? getGlobalDataDir(),
66 WORKSETS_DIR_NAME
67 );
68}
69
70export function getWorksetsFilePath(options: WorksetPathOptions = {}): string {
71 return FileSystemUtils.joinPath(getWorksetsDir(options), WORKSETS_FILE_NAME);

Callers 4

worksets.test.tsFile · 0.85
getWorksetsFilePathFunction · 0.85

Calls 2

getGlobalDataDirFunction · 0.85
joinPathMethod · 0.80

Tested by

no test coverage detected