-
Notifications
You must be signed in to change notification settings - Fork 6
Repository_Checkout_Configuration
public struct Configuration
var `default` = try! Configuration()
Don't apply filters like CRLF conversion
var disableFilters: Bool
Default is 0755
var directoryMode: Int
Default is 0644 or 0755 as dictated by blob
var fileMode: Int
Default will be a safe checkout
var strategy: Strategy?
makes SAFE mode apply safe file updates even if there are conflicts (instead of cancelling the checkout).
var allowConflicts: Bool
var conflictResolution: ConflictResolution?
means remove untracked files (i.e. not in target, baseline, or index, and not ignored) from the working dir.
var removeUntracked: Bool
means remove ignored files (that are also untracked) from the working directory as well.
var removeIgnored: Bool
means to only update the content of files that already exist. Files will not be created nor deleted. This just skips applying adds, deletes, and typechanges.
var updateOnly: Bool
!prevents checkout from writing the updated files' information to the index.
var updateIndex: Bool
checkout will reload the index and git attributes from disk before any operations. Set to false to disable.
var refreshIndex: Bool
!prevents ignored files from being overwritten. Normally, files that are ignored in the working directory are not considered "precious" and may be overwritten if the checkout target contains that file.
var overwriteIgnored: Bool
!prevents checkout from removing files or folders that fold to the same name on case insensitive filesystems. This can cause files to retain their existing names and write through existing symbolic links.
var removeExisting: Bool
Generated at 2020-09-02T17:06:43+0000 using swift-doc 1.0.0-beta.4.
Types
- Blob
- Branch
- Commit
- Credentials
- Error
- Message
- Note
- Object
- Object.ID
- Reference
- Reference.Format
- Remote
- Remote.Fetch
- Remote.Fetch.Configuration
- Remote.Fetch.TagFollowing
- Repository
- Repository.Attributes
- Repository.Attributes.Value
- Repository.Checkout
- Repository.Checkout.Configuration
- Repository.Checkout.ConflictResolution
- Repository.Checkout.Strategy
- Repository.Clone
- Repository.Clone.Configuration
- Repository.Clone.Local
- Repository.Head
- Repository.Index
- Repository.Index.Entry
- Repository.Index.Stage
- RevisionSortingOptions
- Signature
- Tag
- Tag.Annotation
- Tree
- Tree.Entry