Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyEntry ¶
type PolicyEntry struct { Key string // Absolute path to setting. Ex: Sofware/Ubuntu/User/dconf/wallpaper Value string }
PolicyEntry represents an entry of a policy file
func DecodePolicy ¶
func DecodePolicy(r io.Reader) (entries []PolicyEntry, err error)
DecodePolicy parses a policy stream in registry file format and returns a slice of entries.
Click to show internal directories.
Click to hide internal directories.