Module forest_filecoin::cli_shared::snapshot::parse

source ·
Expand description

Vendors publish filenames with two formats: filecoin_snapshot_calibnet_2023-06-13_height_643680.car.zst “full” and 632400_2023_06_09T08_13_00Z.car.zst “short”.

This module contains utilities for parsing and printing these formats.

Enums§

Functions§

  • enter_nom 🔒
  • full 🔒
  • hms 🔒
    Create a parser for HH_MM_SS etc
  • number 🔒
    Parse a number using its FromStr implementation.
  • short 🔒
  • ymd 🔒
    Create a parser for YYYY-MM-DD etc