zipClient

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 13 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 {
}

type File

type File struct {
	SourcePath  string
	ArchivePath string
}

type Handler

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

func New

func New(config Config) *Handler

func (*Handler) FindFilesByRules

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

func (*Handler) FindGitFiles

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

func (*Handler) ZipFiles

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

Jump to

Keyboard shortcuts

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