Registry / utility / hashicorp-go-slug

hashicorp-go-slug

JSON →
library1.0.0gogounverified

A Go library for creating and extracting HashiCorp-style slugs (compressed archives with metadata).

go get github.com/hashicorp/go-slug
INSTALL
IMPORT
SIG · HASHICORP-GO-SLUG
H
hashicorp-go-slug
utilitygov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

slug
github.com/hashicorp/go-slug

Pack a directory into a slug archive.

import "github.com/hashicorp/go-slug" func main() { data, _ := slug.Pack("/path/to/dir") _ = data }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
hashicorp-go-slug — go get hashicorp-go-slug · libregistry