MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / getProgramString

Function getProgramString

src/shared/utils/test.ts:114–116  ·  view source on GitHub ↗
(programUri: URI)

Source from the content-addressed store, hash-verified

112}
113
114export function getProgramString(programUri: URI) {
115 return programUri.query ? `${fsPath(programUri)}${programUri.query}` : fsPath(programUri);
116}
117
118export function getProgramPath(program: string) {
119 return program.split("?")[0];

Callers 2

getLaunchConfigurationFunction · 0.90
getLaunchConfigFunction · 0.85

Calls 1

fsPathFunction · 0.90

Tested by

no test coverage detected