file

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch

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

func NewBatch

func NewBatch(pm pm.IPm) Batch

func (Batch) Add

func (b Batch) Add(file string)

func (Batch) Files

func (b Batch) Files() []string

func (Batch) Pm

func (b Batch) Pm() pm.IPm

type BatchFactory

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

func NewBatchFactory

func NewBatchFactory() *BatchFactory

func (*BatchFactory) Make

func (bf *BatchFactory) Make(files []string) []IBatch

func (*BatchFactory) SetNpmPreferred added in v1.7.6

func (bf *BatchFactory) SetNpmPreferred(npmPreferred bool)

type IBatch

type IBatch interface {
	Files() []string
	Add(file string)
	Pm() pm.IPm
}

type IBatchFactory

type IBatchFactory interface {
	Make(files []string) []IBatch
	SetNpmPreferred(npmPreferred bool)
}

Jump to

Keyboard shortcuts

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