Documentation
¶
Index ¶
- func IsMissingManifest(err error) bool
- type Fetcher
- func (f Fetcher) Fetch(ctx context.Context, url, ref, modulePath, work string) (Result, error)
- func (f Fetcher) FetchFile(ctx context.Context, url, ref, filePath, work string) (Result, error)
- func (f Fetcher) File(ctx context.Context, url, commit, filePath string) ([]byte, error)
- func (f Fetcher) Surface(ctx context.Context, url, commit, modulePath, surface, dest, work string) (SurfaceResult, error)
- type Result
- type SurfaceResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMissingManifest ¶
Types ¶
type Fetcher ¶
func (Fetcher) FetchFile ¶
FetchFile resolves ref and returns a single file together with the strategy used. It is primarily useful for conformance checks of real git hosts.
type SurfaceResult ¶
Click to show internal directories.
Click to hide internal directories.