diff options
author | Jonathan Lebon <jonathan@jlebon.com> | 2020-04-17 14:20:25 -0400 |
---|---|---|
committer | Jonathan Lebon <jonathan@jlebon.com> | 2020-04-17 14:28:20 -0400 |
commit | df065ad766c325bac2fa9a83ea1af7e1616abe16 (patch) | |
tree | 7ae6bea29d9d61c8d5f9860a38b0a3d1e646b7db /src/libostree/ostree-repo-private.h | |
parent | bb8fd5a2c4b91d8fd41e831887f053bb63b13ac5 (diff) | |
download | ostree-df065ad766c325bac2fa9a83ea1af7e1616abe16.tar.gz |
lib: Rename function for staging dir check
Rename the function to more accurately reflect what it does, which is to
check whether the filename has the `staging-` prefix.
Diffstat (limited to 'src/libostree/ostree-repo-private.h')
-rw-r--r-- | src/libostree/ostree-repo-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-repo-private.h b/src/libostree/ostree-repo-private.h index e52f9f0b..a1c7b7b4 100644 --- a/src/libostree/ostree-repo-private.h +++ b/src/libostree/ostree-repo-private.h @@ -247,7 +247,7 @@ _ostree_repo_allocate_tmpdir (int tmpdir_dfd, GError **error); gboolean -_ostree_repo_is_locked_tmpdir (const char *filename); +_ostree_repo_has_staging_prefix (const char *filename); gboolean _ostree_repo_try_lock_tmpdir (int tmpdir_dfd, |