MCPcopy
hub / github.com/sveltejs/svelte / download.js

File download.js

playgrounds/sandbox/scripts/download.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import fs from 'node:fs';
2import path from 'node:path';
3import { parseArgs } from 'node:util';
4import { execSync } from 'node:child_process';

Callers

nothing calls this directly

Calls 11

is_local_directoryFunction · 0.85
process_directoryFunction · 0.85
get_all_filesFunction · 0.85
is_github_urlFunction · 0.85
with_tmp_dirFunction · 0.85
clone_github_repoFunction · 0.85
is_stackblitz_github_urlFunction · 0.85
is_stackblitz_edit_urlFunction · 0.85
errorMethod · 0.80

Tested by

no test coverage detected