summaryrefslogtreecommitdiff
path: root/apidoc
diff options
context:
space:
mode:
authorDan Nicholson <nicholson@endlessm.com>2020-01-20 19:54:00 -0700
committerDan Nicholson <nicholson@endlessm.com>2020-01-20 20:46:29 -0700
commit260bcd11938be8fbe49846eff913206e5df4168a (patch)
tree7946386a88e06507ef507925cc50ab515af52ed7 /apidoc
parentfcbb453443c4f22e8621c8593877ab775e5a5884 (diff)
downloadostree-260bcd11938be8fbe49846eff913206e5df4168a.tar.gz
core: Add ostree_commit_get_object_sizes API
This function parses the object listing in the `ostree.sizes` metadata and returns an array of `OstreeCommitSizesEntry` structures. Unfortunately, for reasons I don't understand, the linker wants to resolve `_ostree_read_varuint64` from `ostree-core.c` even though it's not used by `test-checksum.c` at all.
Diffstat (limited to 'apidoc')
-rw-r--r--apidoc/ostree-sections.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/apidoc/ostree-sections.txt b/apidoc/ostree-sections.txt
index 33035ca7..32cf5228 100644
--- a/apidoc/ostree-sections.txt
+++ b/apidoc/ostree-sections.txt
@@ -151,6 +151,7 @@ ostree_validate_structureof_dirmeta
ostree_commit_get_parent
ostree_commit_get_timestamp
ostree_commit_get_content_checksum
+ostree_commit_get_object_sizes
OstreeCommitSizesEntry
ostree_commit_sizes_entry_new
ostree_commit_sizes_entry_copy