diff options
author | Jonathan Lebon <jlebon@redhat.com> | 2017-10-11 14:52:02 +0000 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-10-12 12:53:01 +0000 |
commit | 077d2718ad5ef58935ecb03f7757302250753c09 (patch) | |
tree | 2ee331a61631584f2b000491385446cd6619aca7 /bash | |
parent | 60b5925c549288171a38d97ad06cb4693a7f8107 (diff) | |
download | ostree-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 'bash')
-rw-r--r-- | bash/ostree | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/ostree b/bash/ostree index 034f101b..c132a43f 100644 --- a/bash/ostree +++ b/bash/ostree @@ -745,6 +745,7 @@ _ostree_checkout() { _ostree_checksum() { local boolean_options=" $main_boolean_options + --ignore-xattrs " case "$cur" in |