fs

package module
v0.0.0-...-2739c2c Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(path, target string) error

Compress stores a zip file of in the provided path

func Decompress

func Decompress(path, target string) error

Decompress extracts a compressed archive at path to target

func HashFile

func HashFile(path string) ([]byte, error)

HashFile returns a sha512 hash of the file at the provided path

func ReadGob

func ReadGob(path string, object interface{}) error

ReadGob reads a gob file from path

func SaveGob

func SaveGob(path string, object interface{}) error

SaveGob writes a gob file to path

Types

This section is empty.

Jump to

Keyboard shortcuts

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