archiver

package
v0.0.0-...-59dad38 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTgz

func CreateTgz(archivePath string, workDir string, fileMaps []FileMap) error

Types

type FileMap

type FileMap struct {
	Source string
	Target string // Note: Target paths should always be relative to the archive root, do not use absolute paths
}

func FilesWithCommonParent

func FilesWithCommonParent(filepaths ...string) []FileMap

Jump to

Keyboard shortcuts

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