Documentation ¶
Index ¶
- func CheckDirectoryFreeSpace(dir string) uint64
- func GetBytesFromMBytes(size uint64) uint64
- func GetKBytesFromBytes(size int64) int64
- func GetMBytesFromBytes(size int64) int64
- func IsSpaceEnough(dir string, size uint64) bool
- func SetUpSyslogWriter(c *cli.Context) (_ *zerolog.Logger, e error)
- type ContextKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDirectoryFreeSpace ¶
func GetBytesFromMBytes ¶ added in v0.0.4
Input `size` in bytes
func GetKBytesFromBytes ¶ added in v0.0.4
func GetMBytesFromBytes ¶
func IsSpaceEnough ¶
func SetUpSyslogWriter ¶
Types ¶
type ContextKey ¶
type ContextKey uint8
const ( ContextKeyLogger ContextKey = iota ContextKeyCliContext ContextKeyAbortFunc ContextKeyAnilibriaClient ContextKeyDelugeClient )
Click to show internal directories.
Click to hide internal directories.