Skip to main content

Module constants

Module constants 

Source

Constants§

APP_NAME
Application name.
CACHE_QUERY_TIMEOUT_SECS
Timeout for the “where does your cache live?” queries devp caches makes.
CONFIG_DIR_NAME
Config directory name under user config root.
DEFAULT_ALLOW_MANIFEST_REWRITE
Whether an adapter whose sync command edits tracked manifests may run it.
DEFAULT_AUTO_DAEMON
Whether the setup pass installs the OS scheduler.
DEFAULT_AUTO_HOOKS
Whether the setup pass installs the global Git auto-registration hooks.
DEFAULT_AUTO_HOOKS_CHAIN
Whether the setup pass installs the Git hooks in front of another tool’s.
DEFAULT_AUTO_SETUP
Whether dev-prune installs its missing integrations by itself.
DEFAULT_CHECK_INTERVAL_DAYS
Default interval in days between background daemon prune runs.
DEFAULT_COMMAND_TIMEOUT_SECS
Default timeout in seconds for lockfile enforcement / CLI commands (10 minutes).
DEFAULT_IDLE_DAYS
Default idle threshold in days before a repository is eligible for pruning.
DEFAULT_MIN_SIZE_MB
Default size floor, in MiB, below which a bloat directory is left alone.
DEFAULT_REQUIRE_CONFIRMATION
Default setting for requiring interactive confirmation before pruning.
DEFAULT_SCAN_DEPTH
How far below a repository root project discovery descends, by default.
DEFAULT_UPDATE_CHECK
Whether the periodic release check runs. On by default — see Settings::update_check.
DEVPRUNE_IGNORE_FILE
Filename that, when present in a repo root, causes dev-prune to skip that repo entirely.
ENV_CONFIG_DIR_OVERRIDE
Global environment variable name to override config directory location.
JSON_SCHEMA_URL
Public URL for the JSON Schema used by IDEs for .devprune.json IntelliSense.
LATEST_RELEASE_API_URL
GitHub API endpoint for the latest published release.
MAX_SCAN_DEPTH_LIMIT
Upper bound accepted for scan_depth.
PER_REPO_CONFIG_FILE
Name of the structured per-repository configuration file stored inside repo roots.
REGISTRY_FILENAME
Name of the registry JSON file.
RELEASES_URL
GitHub releases page, shown whenever an upgrade is relevant.
TROUBLESHOOTING_URL
Documentation URL for troubleshooting lockfile and pruning failures.
UPDATE_CHECK_INTERVAL_DAYS
Default interval, in days, between automatic release checks.
UPDATE_CHECK_TIMEOUT_SECS
Default timeout for the release check. Short on purpose — this is a convenience, and a user waiting on a hung socket is worse than not knowing. Override with devp config set update_check_timeout_secs when a proxy needs longer.
VERSION
Application crate version derived dynamically from Cargo.toml.