MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / safePath.test.ts

File safePath.test.ts

packages/core/src/safePath.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, afterEach } from "vitest";
2import { mkdtempSync, mkdirSync, writeFileSync, symlinkSync, rmSync } from "node:fs";
3import { tmpdir } from "node:os";
4import { join } from "node:path";

Callers

nothing calls this directly

Calls 4

tmpDirFunction · 0.85
isSafePathFunction · 0.85
resolveWithinProjectFunction · 0.85
tryCreateSymlinkFunction · 0.70

Tested by

no test coverage detected