io

package
v0.14.0-fixing-sealing... Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: AGPL-3.0 Imports: 4 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirSize

func DirSize(path string) (uint64, error)

DirSize returns the size in bytes for all files in all directories under the given path

func FileExists added in v0.14.0

func FileExists(filename string) bool

func ReadFile

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

ReadFile reads the file from path, if not found, it will print the absolute path, instead of relative path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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