Expand description
Index discovery module for finding unified graph in ancestor directories.
This module implements git-like behavior where sqry walks up the directory tree to find the nearest graph index, enabling queries from subdirectories to automatically use a parent index with appropriate scope filtering.
Structs§
- Index
Location - Result of index discovery, containing location and scope information.
Constants§
- INDEX_
FILE_ NAME - Legacy index file name constant (deprecated).
Functions§
- augment_
query_ with_ scope - Augment a query with an implicit path filter when using ancestor index.
- find_
nearest_ index - Find the nearest .sqry-index by walking up from the given path.