Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TruncateFile ¶
func WithAssociatedFile ¶
func WithAssociatedFile(file string) option
Types ¶
type LoopDevice ¶
type LoopDevice struct { Name string `json:"name"` Sizelimit string `json:"sizelimit"` Offset string `json:"offset"` Autoclear string `json:"autoclear"` RO string `json:"ro"` BackFile string `json:"back-file"` Dio string `json:"dio"` LogSec string `json:"log-sec"` }
func List ¶
func List(opts ...option) ([]LoopDevice, error)
Click to show internal directories.
Click to hide internal directories.