Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThinFileUtils ¶
type ThinFileUtils struct {
// contains filtered or unexported fields
}
func NewThinFileUtils ¶
func (ThinFileUtils) GetFileCount ¶
func (t ThinFileUtils) GetFileCount(path string) (fileCount int64, err error)
func (ThinFileUtils) GetUsedSpace ¶
func (t ThinFileUtils) GetUsedSpace(path string) (usedSpace int64, err error)
GetUsedSpace Get used space in byte use "df --block-size=1 |grep <path>'"
func (ThinFileUtils) LoadMetadataWithoutTimeout ¶
func (t ThinFileUtils) LoadMetadataWithoutTimeout(path string) (err error)
Load the metadata without timeout
Click to show internal directories.
Click to hide internal directories.