repo: Make locking APIs public
authorColin Walters <walters@verbum.org>
Thu, 15 Apr 2021 00:43:53 +0000 (20:43 -0400)
committerDan Nicholson <dbn@endlessos.org>
Sat, 5 Jun 2021 15:00:21 +0000 (09:00 -0600)
commit0f36d8c2219decbb5794ff19b5259d15d3d8d791
treeabc76349274ce0ca70a26964427bcbd56fa3e57f
parenta7b590f7aec9fa8e07c92bfcc306cf695544c94e
repo: Make locking APIs public

Doing anything even somewhat sophisticated requires this;
turns out our own `ostree prune` CLI wants this, e.g.
https://github.com/ostreedev/ostree/issues/2337

Closes: https://github.com/ostreedev/ostree/issues/2286
12 files changed:
Makefile-libostree.am
apidoc/ostree-sections.txt
src/libostree/libostree-devel.sym
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo-prune.c
src/libostree/ostree-repo-static-delta-core.c
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/libostree/ostree-sysroot-cleanup.c
tests/test-core.js
tests/test-repo.c