Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InfoEntries ¶
type InfoEntries []InfoEntry
func (InfoEntries) File ¶
func (t InfoEntries) File(s string) *InfoEntry
func (InfoEntries) HasFile ¶
func (t InfoEntries) HasFile(s string) bool
type InfoEntry ¶
type InfoEntry struct { Name string `json:"name"` // "/dev/loop1" SizeLimit int64 `json:"sizelimit"` // 0 Offset int64 `json:"offset"` // 0 AutoClear bool `json:"autoclear"` // true ReadOnly bool `json:"ro"` // true BackFile string `json:"back-file"` // "/var/lib/snapd/snaps/gnome-3-34-1804_66.snap" DirectIO bool `json:"dio"` // false LogSec int64 `json:"log-sec"` // 512 }
type T ¶
type T struct {
// contains filtered or unexported fields
}
func (T) Data ¶
func (t T) Data() (InfoEntries, error)
func (T) FileDelete ¶
Click to show internal directories.
Click to hide internal directories.