* [pbs-devel] [PATCH pxar] format: Document source of format const values
@ 2023-04-28 8:54 Christian Ebner
2023-05-17 9:27 ` [pbs-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Christian Ebner @ 2023-04-28 8:54 UTC (permalink / raw)
To: pbs-devel
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
---
examples/mk-format-hashes.rs | 1 +
src/format/mod.rs | 1 +
2 files changed, 2 insertions(+)
diff --git a/examples/mk-format-hashes.rs b/examples/mk-format-hashes.rs
index 4ab6fff..1ad606c 100644
--- a/examples/mk-format-hashes.rs
+++ b/examples/mk-format-hashes.rs
@@ -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);
diff --git a/src/format/mod.rs b/src/format/mod.rs
index 742e126..72a193c 100644
--- a/src/format/mod.rs
+++ b/src/format/mod.rs
@@ -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
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pbs-devel] applied: [PATCH pxar] format: Document source of format const values
2023-04-28 8:54 [pbs-devel] [PATCH pxar] format: Document source of format const values Christian Ebner
@ 2023-05-17 9:27 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2023-05-17 9:27 UTC (permalink / raw)
To: Proxmox Backup Server development discussion, Christian Ebner
Am 28/04/2023 um 10:54 schrieb Christian Ebner:
> Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
> ---
> examples/mk-format-hashes.rs | 1 +
> src/format/mod.rs | 1 +
> 2 files changed, 2 insertions(+)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-17 9:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-28 8:54 [pbs-devel] [PATCH pxar] format: Document source of format const values Christian Ebner
2023-05-17 9:27 ` [pbs-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox