MCPcopy
hub / github.com/coder/mux / list

Method list

src/node/services/projectService.ts:1116–1124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1114 }
1115
1116 list(): Array<[string, ProjectConfig]> {
1117 try {
1118 const config = this.config.loadConfigOrDefault();
1119 return Array.from(deriveProjectHierarchy(config.projects).entries());
1120 } catch (error) {
1121 log.error("Failed to list projects:", error);
1122 return [];
1123 }
1124 }
1125
1126 async listBranches(projectPath: string): Promise<BranchListResult> {
1127 if (typeof projectPath !== "string" || projectPath.trim().length === 0) {

Callers 15

loadArchivedFunction · 0.45
ProjectPageFunction · 0.45
setWindowDetailsFunction · 0.45
ProjectMCPOverviewFunction · 0.45
loadDataFunction · 0.45
CommandPaletteFunction · 0.45
MemoryBrowserFunction · 0.45
loadAgentSkillsFunction · 0.45
TasksSectionFunction · 0.45
flushFunction · 0.45

Calls 2

deriveProjectHierarchyFunction · 0.90
loadConfigOrDefaultMethod · 0.80

Tested by 2

disposeFunction · 0.36