MCPcopy Index your code
hub / github.com/Waishnav/devspace / roots.test.ts

File roots.test.ts

src/roots.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import assert from "node:assert/strict";
2import { homedir } from "node:os";
3import { join, resolve } from "node:path";
4import { assertAllowedPath, expandHomePath, resolveAllowedPath } from "./roots.js";

Callers

nothing calls this directly

Calls 3

expandHomePathFunction · 0.85
assertAllowedPathFunction · 0.85
resolveAllowedPathFunction · 0.85

Tested by

no test coverage detected