This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
RevisionWalker
mattt edited this page Aug 17, 2020
·
2 revisions
An interface for configuring which revisions are returned by
Repository.revisions(with:)
.
public protocol RevisionWalker
Push the repository's HEAD
.
func pushHead() throws
Push matching references.
func pushGlob(_ glob: String) throws
Push a range of references.
func pushRange(_ range: String) throws
Push a reference by name.
func pushReference(named name: String) throws
Hide the repository's HEAD
.
func hideHead() throws
Hide matching references.
func hideGlob(_ glob: String) throws
Hide a commit by ID.
func hideCommit(with id: Commit.ID) throws
Hide a reference by name.
func hideReference(named name: String) throws
Sort revisions with the provided options.
func sort(with options: RevisionSortingOptions) throws
Simplify the history such that no parents other than the first for each commit will be enqueued.
func simplifyFirstParent() throws
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