clone_stackblitz_github_project() — svelte Function Reference
Architecture documentation for the clone_stackblitz_github_project() function in download.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 7a0c3971_4aad_e45c_0f94_e20764387971["clone_stackblitz_github_project()"] 65d20932_41e6_eeee_7338_5dd0682e5e42["download.js"] 7a0c3971_4aad_e45c_0f94_e20764387971 -->|defined in| 65d20932_41e6_eeee_7338_5dd0682e5e42 f709ef5b_d049_7745_e57e_b20572ecaf69["extract_stackblitz_github_info()"] 7a0c3971_4aad_e45c_0f94_e20764387971 -->|calls| f709ef5b_d049_7745_e57e_b20572ecaf69 style 7a0c3971_4aad_e45c_0f94_e20764387971 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
playgrounds/sandbox/scripts/download.js lines 123–130
function clone_stackblitz_github_project(url, target_dir) {
const info = extract_stackblitz_github_info(url);
const repo_url = `https://github.com/${info.owner}/${info.repo}.git`;
console.log(`StackBlitz GitHub project detected, cloning from ${repo_url}...`);
execSync(`git clone --depth 1 ${repo_url} "${target_dir}"`, { stdio: 'inherit' });
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does clone_stackblitz_github_project() do?
clone_stackblitz_github_project() is a function in the svelte codebase, defined in playgrounds/sandbox/scripts/download.js.
Where is clone_stackblitz_github_project() defined?
clone_stackblitz_github_project() is defined in playgrounds/sandbox/scripts/download.js at line 123.
What does clone_stackblitz_github_project() call?
clone_stackblitz_github_project() calls 1 function(s): extract_stackblitz_github_info.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free