mirror of https://github.com/astral-sh/uv
17 lines
474 B
Rust
17 lines
474 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
/// Line in a RECORD file
|
|
/// <https://www.python.org/dev/peps/pep-0376/#record>
|
|
///
|
|
/// ```csv
|
|
/// tqdm/cli.py,sha256=x_c8nmc4Huc-lKEsAXj78ZiyqSJ9hJ71j7vltY67icw,10509
|
|
/// tqdm-4.62.3.dist-info/RECORD,,
|
|
/// ```
|
|
#[derive(Deserialize, Serialize, PartialOrd, PartialEq, Ord, Eq)]
|
|
pub(crate) struct RecordEntry {
|
|
pub(crate) path: String,
|
|
pub(crate) hash: Option<String>,
|
|
#[allow(dead_code)]
|
|
pub(crate) size: Option<u64>,
|
|
}
|