mirror of
git://git.proxmox.com/git/pxar.git
synced 2025-01-03 09:17:38 +03: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() {
|
||||
println!("// Generated by `cargo run --example mk-format-hashes`");
|
||||
for constant in CONSTANTS {
|
||||
if !constant.0.is_empty() {
|
||||
println!("/// {}", constant.0);
|
||||
|
@ -78,6 +78,7 @@ pub mod mode {
|
||||
pub const ISVTX : u64 = 0o0001000;
|
||||
}
|
||||
|
||||
// Generated by `cargo run --example mk-format-hashes`
|
||||
/// Beginning of an entry (current version).
|
||||
pub const PXAR_ENTRY: u64 = 0xd5956474e588acef;
|
||||
/// Previous version of the entry struct
|
||||
|
Loading…
Reference in New Issue
Block a user