Skip to content

Commit

Permalink
Add pathset
Browse files Browse the repository at this point in the history
  • Loading branch information
azdavis committed Apr 26, 2024
1 parent 572c507 commit a742b87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/paths/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ pub struct WithPath<T> {
/// A map from path IDs to something.
pub type PathMap<T> = nohash_hasher::IntMap<PathId, T>;

/// A set of path IDs.
pub type PathSet = nohash_hasher::IntSet<PathId>;

/// A clean path.
///
/// "Clean" paths are absolute and contain no `.` or `..`.
Expand Down

0 comments on commit a742b87

Please sign in to comment.