common

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchMetadataFromFile

func FetchMetadataFromFile(metadataFile string) ([]byte, error)

FetchMetadataFromFile reads targets files and returns "metadata"

func GunzipData added in v0.11.0

func GunzipData(data []byte) ([]byte, error)

GunzipData ungzips the supplied data

func GzipData added in v0.11.0

func GzipData(data []byte) ([]byte, error)

GzipData compresses data

func IsGzipped added in v0.11.0

func IsGzipped(data []byte) (bool, error)

IsGzipped tests whether data is gzipped

Types

This section is empty.

Jump to

Keyboard shortcuts

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