summaryrefslogtreecommitdiff
path: root/apidoc
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2017-09-21 20:22:09 +0100
committerAtomic Bot <atomic-devel@projectatomic.io>2017-09-21 21:25:58 +0000
commit64b23fd0891277a26b23c15a7f75fc65f0145ae2 (patch)
treea14093c913999c3c3cd4e90e85d9bb58a01ef5c6 /apidoc
parentae075d23e3d2069f48fcfca0207ca8f46a923d29 (diff)
downloadostree-64b23fd0891277a26b23c15a7f75fc65f0145ae2.tar.gz
lib/repo: Add ostree_repo_hash() and tests
Add a hash function for OstreeRepo instances, which relies on the repo being open, and hence being able to hash the device and inode of its root directory. Add unit tests for this and ostree_repo_equal(). Signed-off-by: Philip Withnall <withnall@endlessm.com> https://github.com/ostreedev/ostree/issues/1191 Closes: #1205 Approved by: cgwalters
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 547e1509..e5ce157c 100644
--- a/apidoc/ostree-sections.txt
+++ b/apidoc/ostree-sections.txt
@@ -287,6 +287,7 @@ ostree_repo_get_path
ostree_repo_get_mode
ostree_repo_get_config
ostree_repo_get_dfd
+ostree_repo_hash
ostree_repo_equal
ostree_repo_copy_config
ostree_repo_remote_add