file

package
v0.0.0-...-4e216c0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	fs.FileSystem
}

File represents a simplest possible Downloader implementation where the sources are just copied from local directory.

func (*File) Download

func (f *File) Download(config *api.Config) (*git.SourceInfo, error)

Download copies sources from a local directory into the working directory. Caller guarantees that config.Source.IsLocal() is true.

type RecursiveCopyError

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

RecursiveCopyError indicates a copy operation failed because the destination is within the copy's source tree.

Jump to

Keyboard shortcuts

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