package
1.4.2
Repository: https://github.com/solus-project/solbuild.git
Documentation: pkg.go.dev

# Functions

New will return a new source for the specified URL.
NewGit will create a new GitSource for the given URI & ref combination.
NewSimple will create a new source instance.
PathExists is a helper function to determine the existence of a file path.

# Constants

GitSourceDir is the base directory for all cached git sources.
SourceDir is where we store all tarballs.
SourceStagingDir is where we initially fetch downloads.

# Variables

ErrGitNoContinue is returned when git processing cannot continue.

# Structs

A BindConfiguration is used by a source as a way to express bind mounts required for a given source.
A GitSource as referenced by `ypkg` build spec.
A SimpleSource is a tarball or other source for a package.

# Interfaces

A Source is a general representation of source listed in a package spec file.