Documentation
¶
Overview ¶
Package meta manages the .sdd/ metadata directory: discovery, config reading, and path resolution. This is project-level infrastructure, separate from the domain model (pure) and graph finders (query-driven).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoverRoot ¶
DiscoverRoot walks up from startDir looking for a directory named ".sdd". Returns the repo root (parent of .sdd/) or empty string if not found.
func IsSDDMetaDir ¶
IsSDDMetaDir returns true if the directory entry is the .sdd metadata directory. Used by graph scanning to skip .sdd/ contents.
func ReadConfig ¶
ReadConfig reads and parses .sdd/config.yaml from the given .sdd directory. Returns nil config with nil error if the config file does not exist.
func ResolveGraphDir ¶
ResolveGraphDir returns the absolute graph directory path from a config and the repo root (parent of .sdd/). If cfg is nil or GraphDir is empty, falls back to model.DefaultGraphDir.
Types ¶
This section is empty.