MCPcopy Index your code
hub / github.com/coder/mux / getPlanFilePath

Function getPlanFilePath

src/common/utils/planStorage.ts:25–31  ·  view source on GitHub ↗
(
  workspaceName: string,
  projectName: string,
  muxHome = DEFAULT_MUX_HOME
)

Source from the content-addressed store, hash-verified

23 * @param muxHome - Mux home directory (default: ~/.mux, Docker uses /var/mux)
24 */
25export function getPlanFilePath(
26 workspaceName: string,
27 projectName: string,
28 muxHome = DEFAULT_MUX_HOME
29): string {
30 return `${muxHome}/plans/${projectName}/${workspaceName}.md`;
31}
32
33/**
34 * Get the legacy plan file path (stored by workspace ID).

Callers 15

helpers.test.tsFile · 0.90
readPlanFileFunction · 0.90
hasNonEmptyPlanFileFunction · 0.90
movePlanFileFunction · 0.90
copyPlanFileFunction · 0.90
writePlanFileFunction · 0.90
buildPlanInstructionsFunction · 0.90

Calls

no outgoing calls

Tested by 1

writePlanFileFunction · 0.72