aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-12-04 23:47:55 +0100
committerGitHub <noreply@github.com>2017-12-04 23:47:55 +0100
commitf96d46d38f67604f204711ea0e2832e6e047e2ad (patch)
treee0c303923da76c8fd6b2471262a657b06181dd2a /options.go
parent02723bf0e5b97fc7855467b2fad700a4f318ab3e (diff)
parentd43f17481253b76b558bfe4cc1e1b17bfb0c74e4 (diff)
downloadgo-git-f96d46d38f67604f204711ea0e2832e6e047e2ad.tar.gz
Merge pull request #675 from darkowlzz/git-clean
git: worktree, add Clean() method for git clean
Diffstat (limited to 'options.go')
-rw-r--r--options.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/options.go b/options.go
index d2cec4b..e5745ea 100644
--- a/options.go
+++ b/options.go
@@ -360,3 +360,8 @@ type ListOptions struct {
// Auth credentials, if required, to use with the remote repository.
Auth transport.AuthMethod
}
+
+// CleanOptions describes how a clean should be performed.
+type CleanOptions struct {
+ Dir bool
+}