importer

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Importer added in v0.4.2

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

Importer knows how to copy files from a source path to a destination path.

func New added in v0.4.2

func New(repo *git.Repository, spec *vending.Spec, dep *vending.Dependency) *Importer

New allocates a new Importer instance.

func (*Importer) Import added in v0.4.2

func (imp *Importer) Import() error

Import executes the import operation by copying files from the source to the destination.

type Selector

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

func (*Selector) SelectDir added in v0.4.5

func (sel *Selector) SelectDir(dir string) bool

SelectDir determines if a directory should be walked or not.

func (*Selector) SelectPath added in v0.4.5

func (sel *Selector) SelectPath(path string) bool

SelectPath determines if a filepath should be selected or not.

Jump to

Keyboard shortcuts

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