archiveClient

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DeployGitFolder bool
}

type File

type File struct {
	SourcePath  string // full path to the file using os.PathSeparator
	ArchivePath string // path to the file in archive using / as separator
}

type Handler

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

func New

func New(config Config) *Handler

func (*Handler) FindFilesByRules

func (h *Handler) FindFilesByRules(uxBlocks uxBlock.UxBlocks, workingDir string, sources []string) ([]File, error)

func (*Handler) FindGitFiles

func (h *Handler) FindGitFiles(workingDir string) (res []File, _ error)

func (*Handler) TarFiles

func (h *Handler) TarFiles(w io.Writer, files []File) error

Jump to

Keyboard shortcuts

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