bhlsys

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download

func Download(path, url string, rebuild bool) error

Download will Download a dump of BHL metadata using provided URL to a local file. It's efficient because it will write as it downloads and not load the whole file into memory. We pass an io.TeeReader into Copy() to report progress on the Download.

func Extract

func Extract(path, dlDir string, rebuild bool) error

Extract will extract files from a BHL data dump file into a directory. If rebuild is true, it will overwrite existing files, if false it will skip existing files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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