aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
diff options
context:
space:
mode:
authorSunny <me@darkowlzz.space>2017-10-04 01:59:13 +0530
committerSunny <me@darkowlzz.space>2017-10-04 01:59:13 +0530
commit4d0c2cccb890be585b74fea3805db6e555f42cfc (patch)
tree1ffa756b197c8e38b10e019fd1e0aa3e16be0f19 /options.go
parent7172e04fe7e000d8826f0402dd7f70d8b3d55072 (diff)
downloadgo-git-4d0c2cccb890be585b74fea3805db6e555f42cfc.tar.gz
Create ListOptions and rename LSRemote to List.
Diffstat (limited to 'options.go')
-rw-r--r--options.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/options.go b/options.go
index 9f10aae..7036bc1 100644
--- a/options.go
+++ b/options.go
@@ -348,3 +348,9 @@ func (o *CommitOptions) Validate(r *Repository) error {
return nil
}
+
+// ListOptions describes how a remote list should be performed.
+type ListOptions struct {
+ // Auth credentials, if required, to use with the remote repository.
+ Auth transport.AuthMethod
+}