flake_edit/follows.rs
1//! Follows-graph types: typed attribute paths and the edge graph built from them.
2//!
3//! An attribute path is a non-empty sequence of attribute names rooted at a
4//! flake input. Segments are stored unquoted. The `"..."` quotes Nix requires
5//! for names containing dots, leading digits, and similar live on the
6//! rendering boundary.
7pub mod graph;
8pub mod path;
9
10pub use graph::{
11 Cycle, DEFAULT_MAX_DEPTH, Edge, EdgeOrigin, FollowsGraph, StaleLockDeclaration,
12 is_follows_reference_to_parent,
13};
14pub use path::{AttrPath, AttrPathParseError, Segment, SegmentError, strip_outer_quotes};