gxos

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: Apache-2.0, MIT Imports: 7 Imported by: 2

Documentation

Overview

packaeg gxos encapsulates os related functions.

packaeg gxos encapsulates os related functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile added in v0.3.2

func CopyFile(dst, src string) error

func CreateDir

func CreateDir(dir string) error

func Fallocate added in v0.3.3

func Fallocate(file *os.File, offset int64, length int64) error

func GetFileModifyTime added in v0.3.2

func GetFileModifyTime(file string) (time.Time, error)

func GetPkgPath added in v0.2.0

func GetPkgPath(v interface{}) string

get a struct object(or its ptr) @v's package path

func IsSameFile added in v0.3.2

func IsSameFile(filename1, filename2 string) bool

Types

This section is empty.

Directories

Path Synopsis
packaeg gxprocess is used to get process info of "/proc"
packaeg gxprocess is used to get process info of "/proc"

Jump to

Keyboard shortcuts

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