mirror of
https://git.proxmox.com/git/pxar
synced 2025-04-29 13:43:38 +00:00
format: Document source of format const values
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
parent
6ad046f9f9
commit
00d36bf97b
@ -54,6 +54,7 @@ const CONSTANTS: &[(&str, &str, &str)] = &[
|
|||||||
];
|
];
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
println!("// Generated by `cargo run --example mk-format-hashes`");
|
||||||
for constant in CONSTANTS {
|
for constant in CONSTANTS {
|
||||||
if !constant.0.is_empty() {
|
if !constant.0.is_empty() {
|
||||||
println!("/// {}", constant.0);
|
println!("/// {}", constant.0);
|
||||||
|
@ -78,6 +78,7 @@ pub mod mode {
|
|||||||
pub const ISVTX : u64 = 0o0001000;
|
pub const ISVTX : u64 = 0o0001000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Generated by `cargo run --example mk-format-hashes`
|
||||||
/// Beginning of an entry (current version).
|
/// Beginning of an entry (current version).
|
||||||
pub const PXAR_ENTRY: u64 = 0xd5956474e588acef;
|
pub const PXAR_ENTRY: u64 = 0xd5956474e588acef;
|
||||||
/// Previous version of the entry struct
|
/// Previous version of the entry struct
|
||||||
|
Loading…
Reference in New Issue
Block a user