dodder_env

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package dodder_env holds dodder-flavored constants and configuration bundles consumed by env_dir construction sites.

Lives at NATO tier 0 because it's a pure data-only package (no behavior, no dependencies on other dodder packages) consumed across the tree.

Index

Constants

View Source
const (
	// XDGUtilityName is dodder's XDG scope segment — the `<scope>` in
	// `$XDG_*_HOME/<scope>/`. Used to construct dodder's own-state
	// env_dir (cache, state, config, log).
	XDGUtilityName = "dodder"

	// XDGUtilityNameMadder is madder's XDG scope segment. Used to
	// construct the madder-scope env_dir for blob-store operations.
	XDGUtilityNameMadder = "madder"

	// EnvDir is the env-var name dodder reads to override the
	// repository base path. Honored by env_repo.Make when set.
	EnvDir = "DIR_DODDER"
)

Variables

View Source
var EnvVarNames = env_dir.EnvVarNames{
	Binary:             "BIN_DODDER",
	XDGUtilityOverride: "DODDER_XDG_UTILITY_OVERRIDE",
	VerifyOnCollision:  "DODDER_VERIFY_ON_COLLISION",
}

EnvVarNames is the env-var-names bundle dodder injects into its own-scope env_dir constructors. Madder-scoped env_dirs (constructed for blob-store ops) use madder_env.DefaultEnvVarNames instead.

Functions

func OwnConfig added in v0.1.7

func OwnConfig(debugOptions debug.Options) env_dir.Config

OwnConfig builds an env_dir.Config for own (dodder-scoped) env_dir constructors: dodder env-var names, caller-supplied debug options.

Types

This section is empty.

Source Files

  • main.go

Jump to

Keyboard shortcuts

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