Documentation ¶
Index ¶
Constants ¶
View Source
const DBDir = "etc/dconf/db"
DBDir specifies the default base path for dconf databases.
View Source
const LocksDir = "locks"
LocksDir specifies the relative path to lock configuration for a system database.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directive ¶
type Directive struct { Type DirectiveType Name string }
Directive relates a profile to a database.
type DirectiveType ¶
type DirectiveType string
DirectiveType how a database relates to a profile.
const ( // ProfileDir is the default directory where profiles are defined. ProfileDir = "etc/dconf/profile" // User relates a user database at $XDG_CONFIG_HOME/dconf/<name>. User DirectiveType = "user-db" // System specifies that a system database should be read. The binary // database is read from /etc/dconf/db/<name>. System DirectiveType = "system-db" // Service relates a binary and text database pair. The binary database file // is installed at $XDG_RUNTIME_DIR, while the text database is stored at // $XDG_CONFIG_HOME/dconf/<name>.txt. The two files are kept up to date. Service DirectiveType = "service-db" // File relates a database to the file at the path specified by name. File DirectiveType = "file-db" )
Click to show internal directories.
Click to hide internal directories.