localfetcher

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2019 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResolverFetcher

type ResolverFetcher struct {
	// contains filtered or unexported fields
}

FetcherResolver satisfies the Fetcher and Resolver interfaces in order to use the local GOPATH for git operations during testing and offline development.

func New

func New() (*ResolverFetcher, error)

func (*ResolverFetcher) Fetch

func (f *ResolverFetcher) Fetch(ctx context.Context, url string) (billy.Filesystem, error)

func (*ResolverFetcher) Resolve

func (f *ResolverFetcher) Resolve(ctx context.Context, path string) (url string, root string, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL