filenet

package module
v0.0.0-...-c6fd6ec Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: MIT Imports: 9 Imported by: 0

README

filenet

A Go library working with files from internet

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBinaryExistence

func CheckBinaryExistence(binaryFileName string) error

CheckBinaryExistence checks if the underlying OS has the binary in this user's PATH

func DecompressFiles

func DecompressFiles(files2Decompress map[string]string, maxWorkerNumber int)

DecompressFiles decompress files specified in a map. Each entry in the map is a mapping from file to decompress -> name after decompression

func DownloadFileAtURL

func DownloadFileAtURL(url, outputFilePath string) error

DownloadFileAtURL will download a url to a local file

func GZipDecompress

func GZipDecompress(compressedFilePath, outputFilePath string) error

GZipDecompress decompress a zipped file

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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