Expand description
This module contains types and functions to support formatting specific line ranges.
Structs§
- File
Lines - A set of lines in files.
- Files
FileLines
files iterator.- Json
Span - Line
Range - A range of lines in a file, inclusive of both ends.
- Range
- A range that is inclusive of both ends.
Enums§
- File
Lines Error - File
Name - Defines the name of an input - either a file or stdin.
Functions§
- canonicalize_
path_ 🔒string - normalize_
ranges 🔒 - Normalizes the ranges so that the invariants for
FileLines
hold: ranges are non-overlapping, and ordered by their start point.