file

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 6

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 added in v1.1.12

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