volumesizeinfo

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package volumesizeinfo contains helpers to obtain information about volume.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VolumeSizeInfo

type VolumeSizeInfo struct {
	TotalSize  uint64
	UsedSize   uint64
	FilesCount uint64
}

VolumeSizeInfo keeps information about volume (total volume size, used size and number of files).

func GetVolumeSizeInfo

func GetVolumeSizeInfo(volumeMountPoint string) (VolumeSizeInfo, error)

GetVolumeSizeInfo returns VolumeSizeInfo for given mount point. FilesCount on Windows it always set to MaxInt64.

Jump to

Keyboard shortcuts

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