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

Function getProjectName

src/node/utils/runtime/helpers.ts:16–18  ·  view source on GitHub ↗
(projectPath: string)

Source from the content-addressed store, hash-verified

14 * Works for both local paths and remote paths
15 */
16export function getProjectName(projectPath: string): string {
17 return PlatformPaths.getProjectName(projectPath);
18}
19
20/**
21 * Result from executing a command with buffered output

Callers 4

getWorkspacePathMethod · 0.90
createRemoteProjectIdFunction · 0.90
getContainerNameFunction · 0.90

Calls 1

getProjectNameMethod · 0.45

Tested by

no test coverage detected