env

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package env defines environment variable names and toggle values for ctx configuration.

Index

Constants

View Source
const (
	// Home is the environment variable for the user's home directory.
	Home = "HOME"
	// CtxDir is the environment variable for overriding the context directory.
	CtxDir = "CTX_DIR"
	// CtxTokenBudget is the environment variable for overriding the token budget.
	CtxTokenBudget = "CTX_TOKEN_BUDGET" //nolint:gosec // G101: env var name, not a credential
	// BackupSMBURL is the environment variable for the SMB share URL.
	BackupSMBURL = "CTX_BACKUP_SMB_URL"
	// BackupSMBSubdir is the environment variable for the SMB share subdirectory.
	BackupSMBSubdir = "CTX_BACKUP_SMB_SUBDIR"
	// SkipPathCheck is the environment variable that skips the PATH
	// validation during init. Set to True in tests.
	SkipPathCheck = "CTX_SKIP_PATH_CHECK"
)

Environment variable names.

View Source
const (
	// True is the canonical truthy value for environment variable toggles.
	True = "1"
)

Environment toggle values.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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