discovery

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package discovery provides functionality to locate the .agreements/ directory by traversing upward from a starting directory, similar to how git searches for the .git/ directory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindAgreementsDir

func FindAgreementsDir() (string, error)

FindAgreementsDir searches for the .agreements/ directory starting from the current working directory and traversing upward toward the filesystem root.

func FindAgreementsDirFrom

func FindAgreementsDirFrom(startDir string) (string, error)

FindAgreementsDirFrom searches for the .agreements/ directory starting from the given directory and traversing upward toward the filesystem root. It returns the absolute path to the .agreements/ directory if found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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