blob: 8d837d24912efc699e26cdf711b1943e2f7d1241 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package gitutil
type CheckoutOpt interface {
checkoutOpt()
}
type CommitOpt interface {
commitOpt()
}
type DeleteBranchOpt interface {
deleteBranchOpt()
}
type FetchOpt interface {
fetchOpt()
}
type MergeOpt interface {
mergeOpt()
}
type PushOpt interface {
pushOpt()
}
type ResetOpt interface {
resetOpt()
}
type FollowTagsOpt bool
func (FollowTagsOpt) pushOpt() {}
type ForceOpt bool
func (ForceOpt) checkoutOpt() {}
func (ForceOpt) deleteBranchOpt() {}
func (ForceOpt) pushOpt() {}
type MessageOpt string
func (MessageOpt) commitOpt() {}
type ModeOpt string
func (ModeOpt) resetOpt() {}
type ResetOnFailureOpt bool
func (ResetOnFailureOpt) mergeOpt() {}
type SquashOpt bool
func (SquashOpt) mergeOpt() {}
type StrategyOpt string
func (StrategyOpt) mergeOpt() {}
type TagsOpt bool
func (TagsOpt) fetchOpt() {}
type VerifyOpt bool
func (VerifyOpt) pushOpt() {}