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