//
pkg.gl
Category
github.com/snapcore/snapd
interfaces
prompting
requestrules
package
0.0.0-20250312152250-ea85ec9d2454
Repository:
https://github.com/snapcore/snapd.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
15
Dependents
2
Files
975 SLOC
#
Functions
New
New creates a new rule database, loads existing rules from the database file, and returns the populated database.
#
Structs
Rule
Rule stores the contents of a request rule.
RuleDB
RuleDB stores a mapping from rule ID to rule, and a tree of rule IDs searchable by user, snap, interface, permission, and pattern variant.