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

Function invalidWorksetsFileError

src/core/worksets.ts:154–166  ·  view source on GitHub ↗
(
  message: string,
  options: WorksetPathOptions
)

Source from the content-addressed store, hash-verified

152 .strict();
153
154function invalidWorksetsFileError(
155 message: string,
156 options: WorksetPathOptions
157): StoreError {
158 return new StoreError(
159 `Invalid worksets file: ${message}`,
160 'invalid_workset_file',
161 {
162 target: 'workset.file',
163 fix: `Repair or remove ${getWorksetsFilePath(options)}.`,
164 }
165 );
166}
167
168export function parseWorksetsState(
169 content: string,

Callers 2

parseWorksetsStateFunction · 0.85
serializeWorksetsStateFunction · 0.85

Calls 1

getWorksetsFilePathFunction · 0.85

Tested by

no test coverage detected