devlore

package
v0.1.0-dev.20260816200904 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package devlore names the locations the devlore tools share, beneath the XDG base directories.

One application tree — `devlore` — holds what writ and lore both read: configuration, cached artifacts, data, and run state. github.com/NobleFactor/devlore-cli/pkg/xdg resolves the bases; this package names what sits beneath them, and resolves nothing for itself.

Manual pages and shell completions are the exception, and sit directly beneath the base directories rather than in the application tree. Those locations are not ours to choose: `man` searches `<data>/man`, bash-completion scans `<data>/bash-completion/completions`, and fish scans `<config>/fish/completions`. A file installed anywhere else is a file the reader never finds.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BashCompletionPath

func BashCompletionPath() string

BashCompletionPath returns the user's bash completion directory, where the devlore tools install their scripts.

Returns:

  • `string`: `bash-completion/completions` beneath xdg.DataHome.

func CacheHome

func CacheHome() string

CacheHome returns the cache directory shared by the devlore tools.

Returns:

func ConfigHome

func ConfigHome() string

ConfigHome returns the configuration directory shared by the devlore tools.

Returns:

func DataHome

func DataHome() string

DataHome returns the data directory shared by the devlore tools.

Returns:

func FishCompletionPath

func FishCompletionPath() string

FishCompletionPath returns the user's fish completion directory, where the devlore tools install their scripts.

Returns:

func ManPath

func ManPath() string

ManPath returns the user's section 1 manual directory, where the devlore tools install their pages.

Returns:

func StateHome

func StateHome() string

StateHome returns the state directory shared by the devlore tools.

Returns:

func WritLayersDir

func WritLayersDir() string

WritLayersDir returns the layer registry — one symlink per layer, each naming that layer's working tree.

Returns:

func WritReposDir

func WritReposDir() string

WritReposDir returns the writ-owned repository home, the default clone destination for `writ repo add`.

Returns:

func ZshCompletionPath

func ZshCompletionPath() string

ZshCompletionPath returns the user's zsh function directory, where the devlore tools install their completions.

Returns:

Types

This section is empty.

Jump to

Keyboard shortcuts

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