MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / setBaseDirectory

Function setBaseDirectory

lib/assert.ts:40–42  ·  view source on GitHub ↗
(base_url_path: URL)

Source from the content-addressed store, hash-verified

38const filePrefix = 'file://';
39
40export function setBaseDirectory(base_url_path: URL) {
41 ce_base_directory = base_url_path.pathname;
42}
43
44// Explicitly export for testing purposes - not part of the public API
45export function removeFileProtocol(path: string) {

Callers 2

app.tsFile · 0.85
assert-tests.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected