_file

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append added in v1.2.0

func Append(path string, content interface{})

func Copy

func Copy(old string, new string)

func Delete added in v0.2.5

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 added in v0.2.5

func ReadAll(path string) []byte

func ReadAllAsInt64 added in v0.2.5

func ReadAllAsInt64(filepath string) int64

func ReadAllAsString added in v0.2.5

func ReadAllAsString(filepath string) string

func Rename

func Rename(old string, new string)

func Write added in v0.2.5

func Write(path string, content interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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