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

Function getWorksetCodeWorkspacePath

src/core/worksets.ts:74–82  ·  view source on GitHub ↗
(
  name: string,
  options: WorksetPathOptions = {}
)

Source from the content-addressed store, hash-verified

72}
73
74export function getWorksetCodeWorkspacePath(
75 name: string,
76 options: WorksetPathOptions = {}
77): string {
78 return FileSystemUtils.joinPath(
79 getWorksetsDir(options),
80 `${name}${CODE_WORKSPACE_EXTENSION}`
81 );
82}
83
84export function validateWorksetName(name: string): string {
85 if (!isKebabId(name)) {

Callers 4

workset.test.tsFile · 0.85
worksets.test.tsFile · 0.85
openMethod · 0.85
removeWorksetFunction · 0.85

Calls 2

getWorksetsDirFunction · 0.85
joinPathMethod · 0.80

Tested by

no test coverage detected