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.
This commit is contained in:
1 parent
bb8fd5a2c4
commit
df065ad766
3 files changed
+4
-4
No files matched your search
@@ -2011,7 +2011,7 @@ cleanup_tmpdir (OstreeRepo *self,
|
||||
continue;
|
||||
|
||||
/* Handle transaction tmpdirs */
|
||||
if (_ostree_repo_is_locked_tmpdir (dent->d_name))
|
||||
if (_ostree_repo_has_staging_prefix (dent->d_name))
|
||||
{
|
||||
if (!cleanup_txn_dir (self, dfd_iter.fd, dent->d_name, cancellable, error))
|
||||
return FALSE;
|
||||
|
||||
Reference in new issue
Block a user