Initial commit
This commit is contained in:
12
internal/project/fetcher.go
Normal file
12
internal/project/fetcher.go
Normal file
@ -0,0 +1,12 @@
|
||||
package project
|
||||
|
||||
import (
|
||||
"net/url"
|
||||
|
||||
"gopkg.in/src-d/go-billy.v4"
|
||||
)
|
||||
|
||||
type Fetcher interface {
|
||||
Match(*url.URL) bool
|
||||
Fetch(*url.URL) (billy.Filesystem, error)
|
||||
}
|
Reference in New Issue
Block a user