Documentation ¶
Index ¶
- type ErrDownloadSource
- type Hook
- type HookFn
- type HookType
- type Preparer
- func (preper *Preparer) PrepareWorkspace(ctx context.Context, run *runtime.Runtime, ...) (map[string]string, error)
- func (preper *Preparer) Present(targets []map[string]*dep.InstallInfo)
- func (preper *Preparer) Run(ctx context.Context, run *runtime.Runtime, ...) (pkgbuildDirsByBase map[string]string, err error)
- func (preper *Preparer) ShouldCleanAURDirs(run *runtime.Runtime, pkgBuildDirs map[string]string) build.PostInstallHookFunc
- func (preper *Preparer) ShouldCleanMakeDeps(run *runtime.Runtime, cmdArgs *parser.Arguments) build.PostInstallHookFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrDownloadSource ¶
type ErrDownloadSource struct {
// contains filtered or unexported fields
}
func (ErrDownloadSource) Error ¶
func (e ErrDownloadSource) Error() string
func (*ErrDownloadSource) Unwrap ¶
func (e *ErrDownloadSource) Unwrap() error
type HookType ¶
type HookType string
const ( // PreDownloadSourcesHook is called before sourcing a package PreDownloadSourcesHook HookType = "pre-download-sources" )
type Preparer ¶
type Preparer struct {
// contains filtered or unexported fields
}
func NewPreparer ¶
func NewPreparer(dbExecutor db.Executor, cmdBuilder exe.ICmdBuilder, cfg *settings.Configuration, logger *text.Logger, ) *Preparer
func NewPreparerWithoutHooks ¶
func NewPreparerWithoutHooks(dbExecutor db.Executor, cmdBuilder exe.ICmdBuilder, cfg *settings.Configuration, logger *text.Logger, downloadSources bool, ) *Preparer
func (*Preparer) PrepareWorkspace ¶
func (*Preparer) ShouldCleanAURDirs ¶
func (*Preparer) ShouldCleanMakeDeps ¶
Click to show internal directories.
Click to hide internal directories.