config

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Key = toolsconfig.Key + ".checkpoints"
	// Snapshots of the files the agent changes, which /rollback restores
	Enabled = Key + ".enabled"
	// Old snapshots cleaned up as the server starts, at most once per interval
	AutoPrune = Key + ".auto_prune"
	// Largest file in MB a snapshot includes
	MaxFileSize = Key + ".max_file_size_mb"
	// Snapshots kept for each project
	MaxSnapshots = Key + ".max_snapshots"
	// MB every snapshot together may take before the oldest of each project go
	MaxTotalSize = Key + ".max_total_size_mb"
	// Fewest hours between two automatic cleanups
	MinInterval = Key + ".min_interval_hours"
	// Days a project's snapshots are kept since it was last snapshotted
	Retention = Key + ".retention_days"
	// Seconds one git step of a snapshot may take
	GitTimeout = Key + ".git_timeout"
)

Variables

This section is empty.

Functions

func Register

func Register(cfg *config.Config)

Types

This section is empty.

Jump to

Keyboard shortcuts

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