package archive
import "github.com/open-policy-agent/opa/internal/file/archive"
Index ¶
- func MustWriteTarGz(files [][2]string) *bytes.Buffer
- func WriteFile(tw *tar.Writer, path string, bs []byte) error
Functions ¶
func MustWriteTarGz ¶
MustWriteTarGz write the list of file names and content into a tarball.
func WriteFile ¶
WriteFile adds a file header with content to the given tar writer
Source Files ¶
- Version
- v0.67.0
- Published
- Jul 25, 2024
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 5 minutes ago –
Tools for package owners.