Documentation ¶
Index ¶
Constants ¶
View Source
const ( KB = 1 MB = 1024 * KB GB = 1024 * MB )
Units for expressing disk space when calling storage
Variables ¶
This section is empty.
Functions ¶
func CheckDiskSpace ¶
CheckDiskSpace checks if the number of 1K blocks available on a partition containing a filepath is less than the quota.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.