Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MountInfoWrapper ¶
type MountInfoWrapper interface {
GetMounts(f mountinfo.FilterFunc) ([]*mountinfo.Info, error)
}
This interface is used to mock the mountinfo package in unit tests.
func NewMountInfo ¶
func NewMountInfo() MountInfoWrapper
Click to show internal directories.
Click to hide internal directories.