package
1.9.2
Repository: https://github.com/wolfeidau/zipstash.git
Documentation: pkg.go.dev

# README

archive

This package contains the archive module which is used to create compressed archives.

inputs

The inputs to this module:

  • paths a list of paths separated by new line, to add to the archive.
  • key a key to use for the archive file name.
  • options a list of options to pass to the archive library.

outputs

The outputs from this module:

  • archive the archive file.
  • sha256 the sha256 of the archive file.
  • size the size of the archive file.
  • stats the stats of the archive file.

path handling

We have two types of paths.

  • absolute paths are absolute paths to files or directories.
  • relative paths are relative to the current working directory.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
PathsToMappings takes a slice of file paths and returns a slice of Mapping structs, which contain information about the destination path, chroot path, and whether the path is relative or not.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Mapping represents a mapping of a file path to a destination path, including the chroot path and whether the path is relative or not.