file

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checksum

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

Checksum returns the checksum of a file

func ReadFile

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

ReadFile reads the file and returns the contents

func Remove

func Remove(path string) error

Remove removes path and any children it contains

func WriteFile

func WriteFile(path string, content []byte) error

WriteFile writes the contents to file

Types

This section is empty.

Jump to

Keyboard shortcuts

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