pkg

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(src string, path string) error

func Duplicate

func Duplicate(src string, path string) error

func EmptyFileInfo

func EmptyFileInfo() string

func GetCliHeight

func GetCliHeight() int

func GetCliWidth

func GetCliWidth() int

func GetFileInformations

func GetFileInformations(p string) string

func NoEx

func NoEx(p string) []string

func ReadFiles

func ReadFiles(p string, showHidden bool) []string

func ReadJson

func ReadJson() (string, error)

func ReadMemStats

func ReadMemStats() string

Types

type Status

type Status struct {
	All  uint64 `json:"all"`
	Used uint64 `json:"used"`
	Free uint64 `json:"free"`
}

func DiskUsage

func DiskUsage(p string) (disk Status)

Jump to

Keyboard shortcuts

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