fs

package
v0.0.0-...-bb1a4e7 Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// todo optimize for multiple operative systems
	Separator = "/"
)

Functions

func Exists

func Exists(path string) bool

func IsDir

func IsDir(path string) bool

func PageSize

func PageSize() int

func ReadAll

func ReadAll(path string) []byte

func ReadEntropy

func ReadEntropy(rd io.Reader, size int) ([]byte, error)

func ReadEntropy16

func ReadEntropy16() ([16]byte, error)

func ReadFile

func ReadFile(rd io.Reader) ([]byte, int, error)

func WriteFile

func WriteFile(path string, content 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