fileutil

package
v13.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateSHA256

func CalculateSHA256(file string) (hash string, err error)

func SecureFiles

func SecureFiles(filepaths []string) (err error)

Take ownership of files, and then give them 0600 file permissions

func WriteToFileAsJSON

func WriteToFileAsJSON(obj interface{}, filename string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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