fs

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasenameWithoutExt

func BasenameWithoutExt(file string) string

BasenameWithoutExt returns file basename without ext

func Exists

func Exists(filename string) bool

func FileGetBytes

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

func FileGetLastModified

func FileGetLastModified(filename string) time.Time

func FileGetSize

func FileGetSize(filename string) int64

func FileGetString

func FileGetString(filename string) (string, error)

func FileWriteBytes

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

func FileWriteString

func FileWriteString(filename string, data string) error

func IsDir

func IsDir(filename string) bool

func IsFile

func IsFile(filename string) bool
func IsSymlink(filename string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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