Function iter_static_files

pub fn iter_static_files(
    path: &Path,
) -> Result<HashMap<StaticFileSegment, Vec<(SegmentRangeInclusive, Option<SegmentRangeInclusive>)>>, NippyJarError>
Available on crate feature provider only.
Expand description

Given the static_files directory path, it returns a list over the existing static_files organized by [StaticFileSegment]. Each segment has a sorted list of block ranges and transaction ranges as presented in the file configuration.