MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / tryCreateSymlink

Function tryCreateSymlink

packages/core/src/compiler/htmlBundler.test.ts:45–52  ·  view source on GitHub ↗
(target: string, path: string, type: "dir" | "file")

Source from the content-addressed store, hash-verified

43// Mirror the repo convention (preview.test.ts): skip symlink cases on
44// non-symlink-privileged Windows runners rather than crash the suite.
45function tryCreateSymlink(target: string, path: string, type: "dir" | "file"): boolean {
46 try {
47 symlinkSync(target, path, type);
48 return true;
49 } catch {
50 return false;
51 }
52}
53
54describe("bundleToSingleHtml", () => {
55 it("does not merge author scripts into the runtime bootstrap placeholder", async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected