Bump reva deps (#8412)
* bump dependencies Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * bump reva and add config options Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> --------- Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ type Options struct {
|
||||
|
||||
type Option func(o *Options)
|
||||
|
||||
// Local path for repository
|
||||
// Local path for repository.
|
||||
func Path(p string) Option {
|
||||
return func(o *Options) {
|
||||
o.Path = p
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
// Package source retrieves source code
|
||||
package source
|
||||
|
||||
// Source retrieves source code
|
||||
// Source retrieves source code.
|
||||
type Source interface {
|
||||
// Fetch repo from a url
|
||||
Fetch(url string) (*Repository, error)
|
||||
@@ -11,7 +11,7 @@ type Source interface {
|
||||
String() string
|
||||
}
|
||||
|
||||
// Repository is the source repository
|
||||
// Repository is the source repository.
|
||||
type Repository struct {
|
||||
// Name or repo
|
||||
Name string
|
||||
|
||||
Reference in New Issue
Block a user