Rust

git

Module

What every Git adapter shares: the clone command, path normalization and tag glob matching.

Contents

use utopia_vcs::clone_command;
Rust
pub fn clone_command(clone_url: &str, version: &str, version_type: &str, directory: &str, root_directory: &str) -> Result<Command>

A sparse, shallow clone of one ref into directory, checking out only root_directory. Every value reaches git as its own argument; the shell scripts are constant and read their values from positional parameters.