mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
13 lines
356 B
Go
13 lines
356 B
Go
package vcs
|
|
|
|
type Client interface {
|
|
Init() (err error)
|
|
Dispose() (err error)
|
|
Clone(opts ...GitCloneOption) (err error)
|
|
Checkout(opts ...GitCheckoutOption) (err error)
|
|
Commit(msg string, opts ...GitCommitOption) (err error)
|
|
Pull(opts ...GitPullOption) (err error)
|
|
Push(opts ...GitPushOption) (err error)
|
|
Reset(opts ...GitResetOption) (err error)
|
|
}
|