From 8e5f1f5154d93e60422407a5387d8b9967fc5952 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 2 Mar 2024 14:54:34 +0100 Subject: jgvariant-tool: Add 'ostree summary add-static-delta' command. Change-Id: I3b318269c4c85b581d6639fe5ec6a14bf2604ad4 --- jgvariant-tool/src/main/java/module-info.java | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'jgvariant-tool/src/main/java/module-info.java') diff --git a/jgvariant-tool/src/main/java/module-info.java b/jgvariant-tool/src/main/java/module-info.java index e62808e..6faa226 100644 --- a/jgvariant-tool/src/main/java/module-info.java +++ b/jgvariant-tool/src/main/java/module-info.java @@ -11,7 +11,9 @@ * *

The {@link eu.mulk.jgvariant.tool.Main} class defines the entry point of the tool. * - *

Usage example (dumping the contents of an OSTree summary file): + *

Usage Examples

+ * + *

Dumping the contents of an OSTree summary file

* * {@snippet lang="sh" : * $ jgvariant ostree summary read ./jgvariant-ostree/src/test/resources/ostree/summary @@ -50,6 +52,21 @@ * } * } * } + * + *

Adding a static delta to an OSTree summary file

+ * + *

Static delta 3... (in hex), between commits 1... and 2... + * : + * + * {@snippet lang="sh" : + * $ jgvariant ostree summary add-static-delta ./jgvariant-ostree/src/test/resources/ostree/summary 3333333333333333333333333333333333333333333333333333333333333333 2222222222222222222222222222222222222222222222222222222222222222 1111111111111111111111111111111111111111111111111111111111111111 + * } + * + *

Static delta 3... (in hex), between the empty commit and 2...: + * + * {@snippet lang="sh" : + * $ jgvariant ostree summary add-static-delta ./jgvariant-ostree/src/test/resources/ostree/summary 4444444444444444444444444444444444444444444444444444444444444444 2222222222222222222222222222222222222222222222222222222222222222 + * } */ module eu.mulk.jgvariant.tool { requires transitive eu.mulk.jgvariant.ostree; -- cgit v1.2.3