summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-prune.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2018-05-02 12:17:20 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-02 17:28:29 +0000
commit9f8e2b886235d0988326cbdcb270678458060b81 (patch)
tree969c15ec9945339f38d3a30d4d555876e460d6ae /src/libostree/ostree-repo-prune.c
parent5337ba51b2e46d5a5bb3d5c627bd724c77d90408 (diff)
downloadostree-9f8e2b886235d0988326cbdcb270678458060b81.tar.gz
lib: Use `Locking:` term in docs
This is easier to `git grep` etc. versus ad-hoc English. Although we still have some English for the prepare_transaction/commit which acquire/release in separate phases. Closes: #1572 Approved by: jlebon
Diffstat (limited to 'src/libostree/ostree-repo-prune.c')
-rw-r--r--src/libostree/ostree-repo-prune.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libostree/ostree-repo-prune.c b/src/libostree/ostree-repo-prune.c
index 2ffd6948..4c883542 100644
--- a/src/libostree/ostree-repo-prune.c
+++ b/src/libostree/ostree-repo-prune.c
@@ -193,7 +193,7 @@ _ostree_repo_prune_tmp (OstreeRepo *self,
* targeting that commit; otherwise any static delta of non existing commits are
* deleted.
*
- * This function takes an exclusive lock on the @self repository.
+ * Locking: exclusive
*/
gboolean
ostree_repo_prune_static_deltas (OstreeRepo *self, const char *commit,
@@ -326,7 +326,7 @@ repo_prune_internal (OstreeRepo *self,
* statistics on objects that would be deleted, without actually
* deleting them.
*
- * This function takes an exclusive lock on the @self repository.
+ * Locking: exclusive
*/
gboolean
ostree_repo_prune (OstreeRepo *self,
@@ -438,7 +438,7 @@ ostree_repo_prune (OstreeRepo *self,
* The %OSTREE_REPO_PRUNE_FLAGS_NO_PRUNE flag may be specified to just determine
* statistics on objects that would be deleted, without actually deleting them.
*
- * This function takes an exclusive lock on the @self repository.
+ * Locking: exclusive
*/
gboolean
ostree_repo_prune_from_reachable (OstreeRepo *self,