projectroot

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find(scanPaths []string) string

Find picks the repository root for repo-local Krit state. It starts from the first scan path, treats files as their parent directory, and walks upward to the nearest project marker. If no marker is found, it returns the resolved starting directory so single-directory scans keep their old locality.

Types

This section is empty.

Jump to

Keyboard shortcuts

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