Repository Reference Provider
Functions
Link copied to clipboard
fun cloneRepository(url: String, branch: String? = null, depth: Int? = null): ClonedRepositoryReference
Clone a Git repository from the given URL to a temporary directory. The returned object will expose tools.
Link copied to clipboard
fun cloneRepositoryTo(url: String, targetDirectory: Path, branch: String? = null, depth: Int? = null): ClonedRepositoryReference
Clone a repository to a specific directory (not temporary). The returned ClonedRepository will not auto-delete on close.
Link copied to clipboard
Link copied to clipboard