res

package
v0.0.0-...-b05aa3b Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default vfs.Cascade

Functions

func Append

func Append(filename string) (vfs.File, error)

func Close

func Close() error

func Create

func Create(filename string) (vfs.File, error)

func MkdirAll

func MkdirAll(dir string) error

func Open

func Open(filename string) (vfs.File, error)

func ReadDir

func ReadDir(dir string) ([]vfs.FileInfo, error)

func ReadFile

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

func ReadOnly

func ReadOnly() bool

func Remove

func Remove(name string) error

func Stat

func Stat(name string) (vfs.FileInfo, error)

func Sys

func Sys() []vfs.FileSystem

Sys reports default file system directory paths

func Truncate

func Truncate(name string, size int64) error

func WriteFile

func WriteFile(filename string, data []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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