getter

package
v5.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFiles

func GetFiles(sourcePath, tmpDir string) (localSourcePath string, globPattern string, err error)

GetFiles determines whether sourcePath is a local or remote path

  • if local, it returns the root directory and any glob specified
  • if remote, it uses go-getter to download the files into a temporary location, then returns the location and the glob used the retrieve the files

and the glob

Types

This section is empty.

Jump to

Keyboard shortcuts

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