root

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindAgentLayerRoot

func FindAgentLayerRoot(start string) (string, bool, error)

FindAgentLayerRoot walks upward from start until it finds a directory containing .agent-layer/. It returns the root path, whether it was found, and any error encountered.

func FindRepoRoot

func FindRepoRoot(start string) (string, error)

FindRepoRoot returns the repo root for initialization. It prefers an existing .agent-layer directory, then a .git directory or file, and falls back to start.

Types

This section is empty.

Jump to

Keyboard shortcuts

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