db/update/VirtualDirectory: rename MakeDirectoryIfModified()
This commit is contained in:
parent
e08298a66f
commit
a873137702
@ -45,7 +45,8 @@ UpdateWalk::UpdateContainerFile(Directory &directory,
|
||||
Directory *contdir;
|
||||
{
|
||||
const ScopeDatabaseLock protect;
|
||||
contdir = MakeDirectoryIfModified(directory, name, info);
|
||||
contdir = MakeVirtualDirectoryIfModified(directory, name,
|
||||
info);
|
||||
if (contdir == nullptr)
|
||||
/* not modified */
|
||||
return true;
|
||||
|
@ -22,8 +22,8 @@
|
||||
#include "storage/FileInfo.hxx"
|
||||
|
||||
Directory *
|
||||
UpdateWalk::MakeDirectoryIfModified(Directory &parent, const char *name,
|
||||
const StorageFileInfo &info) noexcept
|
||||
UpdateWalk::MakeVirtualDirectoryIfModified(Directory &parent, const char *name,
|
||||
const StorageFileInfo &info) noexcept
|
||||
{
|
||||
Directory *directory = parent.FindChild(name);
|
||||
|
||||
|
@ -142,8 +142,9 @@ private:
|
||||
*
|
||||
* The caller must lock the database.
|
||||
*/
|
||||
Directory *MakeDirectoryIfModified(Directory &parent, const char *name,
|
||||
const StorageFileInfo &info) noexcept;
|
||||
Directory *MakeVirtualDirectoryIfModified(Directory &parent,
|
||||
const char *name,
|
||||
const StorageFileInfo &info) noexcept;
|
||||
|
||||
Directory *DirectoryMakeChildChecked(Directory &parent,
|
||||
const char *uri_utf8,
|
||||
|
Loading…
Reference in New Issue
Block a user