summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJonathan Lebon <jlebon@redhat.com>2017-10-11 14:52:02 +0000
committerAtomic Bot <atomic-devel@projectatomic.io>2017-10-12 12:53:01 +0000
commit077d2718ad5ef58935ecb03f7757302250753c09 (patch)
tree2ee331a61631584f2b000491385446cd6619aca7 /man
parent60b5925c549288171a38d97ad06cb4693a7f8107 (diff)
downloadostree-077d2718ad5ef58935ecb03f7757302250753c09.tar.gz
lib/core: add ostree_checksum_file_at API
This is like `ostree_checksum_file` but fd-relative. This will be used by https://github.com/ostreedev/ostree/pull/1258. AFAICT, we actually didn't have any tests that check the `checksum` CLI. Add a basic one here to test the old code as well as the new code. Closes: #1263 Approved by: cgwalters
Diffstat (limited to 'man')
-rw-r--r--man/ostree-checksum.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/man/ostree-checksum.xml b/man/ostree-checksum.xml
index 53914782..c6e16a8b 100644
--- a/man/ostree-checksum.xml
+++ b/man/ostree-checksum.xml
@@ -62,6 +62,19 @@ Boston, MA 02111-1307, USA.
</refsect1>
<refsect1>
+ <title>Options</title>
+ <variablelist>
+ <varlistentry>
+ <term><option>--ignore-xattrs</option></term>
+
+ <listitem><para>
+ Ignore extended attributes when checksumming.
+ </para></listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1>
<title>Example</title>
<para><command>$ ostree checksum file1</command></para>
<programlisting>