Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultStateHistoryLimit = 10 DefaultBackupRevisionLimit = 10 )
Variables ¶
View Source
var (
DefaultConfigPath = filepath.Join(xdg.ConfigHome, "kontext", "kontext.yaml")
)
Functions ¶
This section is empty.
Types ¶
type Backup ¶ added in v1.1.0
type Backup struct { // enable/disable the backup, defaults to true Enabled bool `json:"enabled"` // set the backup directory Directory string `json:"directory,omitempty"` // set the maximum backup revision count Revisions int `json:"revisions,omitempty"` }
Backup configuration options
type Client ¶ added in v1.2.0
type Client struct { // File of the file, that will be used to read the configuration File string }
type History ¶ added in v1.1.0
type History struct { // set the maximum history size Size int `json:"size"` }
type SourceItem ¶ added in v1.4.0
Click to show internal directories.
Click to hide internal directories.