layout

package
v0.16.9 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package layout resolves Wingman's user-data path and ordered project and personal configuration roots.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PersonalRoots

func PersonalRoots(name string) []string

PersonalRoots returns the per-user directories holding name, in precedence order. WINGMAN_HOME affects the Wingman root only; compatible .agents and .claude roots remain relative to the operating-system home directory.

func ProjectRoots

func ProjectRoots(workDir, name string) []string

ProjectRoots returns the per-project directories holding name, in precedence order.

func Roots

func Roots(workDir, name string) []string

Roots returns the project roots followed by the personal roots, which is the full precedence order for name.

func WingmanPath added in v0.14.10

func WingmanPath(parts ...string) (string, error)

WingmanPath returns an absolute path beneath the root for Wingman-owned user data. WINGMAN_HOME replaces the default ~/.wingman directory as a unit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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