Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Repository_Clone_Configuration

mattt edited this page Aug 19, 2020 · 1 revision

Repository.Clone.Configuration

public struct Configuration

Properties

`default`

var `default` = try! Configuration()

checkoutConfiguration

var checkoutConfiguration:​ Repository.Checkout.Configuration

fetchConfiguration

var fetchConfiguration:​ Remote.Fetch.Configuration

bare

Set to zero (false) to create a standard repo, or non-zero for a bare repo

var bare:​ Bool

local

Whether to use a fetch or copy the object database.

var local:​ Local

checkoutBranch

The name of the branch to checkout. NULL means use the remote's default branch.

var checkoutBranch:​ String?
Clone this wiki locally