registry

package
v0.0.0-...-5a3d5de Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

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