RepositoryReferenceProvider

data class RepositoryReferenceProvider(fileFormatLimits: FileFormatLimits = FileFormatLimits())

Constructors

Link copied to clipboard
constructor(fileFormatLimits: FileFormatLimits = FileFormatLimits())

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun clone(url: String): String

Will add a reference to the blackboard

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.