Documentation
¶
Overview ¶
Package sysd analyzes and affects systemd configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotInstalled is returned if an action is invoked // on a unit which does not exist. ErrNotInstalled = errors.New("cannot perform action on uninstalled unit") )
Functions ¶
Types ¶
type FS ¶
type FS interface {
Stat(path string) (os.FileInfo, error)
LStat(path string) (os.FileInfo, error)
Symlink(at, to string) error
Mkdir(at string) error
Write(path string, data []byte, perms os.FileMode) error
}
FS describes an interface which must be provided, so the package can interact with the filesystem.
Click to show internal directories.
Click to hide internal directories.