userconfig

package
v1.0.0-beta.24 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package userconfig locates and reads the user-level Dagger config file, ~/.config/dagger/config.toml or the file named by $DAGGER_CONFIG. The file is shared by several subsystems ([llm], [workspaces.*], [engine]); this package has no dependencies on them, so the engine client can read its own settings.

Index

Constants

View Source
const FileName = "config.toml"

Variables

This section is empty.

Functions

func LeaveOldEngines

func LeaveOldEngines() (leave bool, ok bool)

LeaveOldEngines reports the [engine] leave_old_engines setting. ok is false when the setting is absent, or when the file is missing, unreadable, or malformed: a broken config file must never break a command.

func Path

func Path() string

Path returns the user config file path: $DAGGER_CONFIG when set, otherwise config.toml in the dagger directory under $XDG_CONFIG_HOME.

Types

This section is empty.

Jump to

Keyboard shortcuts

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