_file

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(pathA string, pathB string)

func Delete

func Delete(path string)

func Exists

func Exists(path string) bool

func Open

func Open(path string, flag int, perm os.FileMode) *file

func ReadAll

func ReadAll(path string) []byte

func ReadAllAsInt64

func ReadAllAsInt64(filepath string) int64

func ReadAllAsString

func ReadAllAsString(filepath string) string

func Rename

func Rename(old string, new string)

func Write

func Write(path string, content interface{}, perm os.FileMode)

Types

This section is empty.

Jump to

Keyboard shortcuts

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