diff options
author | Max Kellermann <max@duempel.org> | 2015-02-28 20:50:15 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-02-28 23:00:26 +0100 |
commit | 2d06a8e8804b1db64c7564532362eecdf7ad81d3 (patch) | |
tree | 3083cbd252fa36f0dd31269b7a3be84b5acb4d1e /src/db/update/UpdateIO.cxx | |
parent | e1a434edbc84528fcd85e337ebf713c75124ba2b (diff) | |
download | mpd-2d06a8e8804b1db64c7564532362eecdf7ad81d3.tar.gz mpd-2d06a8e8804b1db64c7564532362eecdf7ad81d3.tar.xz mpd-2d06a8e8804b1db64c7564532362eecdf7ad81d3.zip |
storage/FileInfo: rename to StorageFileInfo
Diffstat (limited to '')
-rw-r--r-- | src/db/update/UpdateIO.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/db/update/UpdateIO.cxx b/src/db/update/UpdateIO.cxx index 0fd46f1db..1a0f318c3 100644 --- a/src/db/update/UpdateIO.cxx +++ b/src/db/update/UpdateIO.cxx @@ -33,7 +33,7 @@ #include <unistd.h> bool -GetInfo(Storage &storage, const char *uri_utf8, FileInfo &info) +GetInfo(Storage &storage, const char *uri_utf8, StorageFileInfo &info) { Error error; bool success = storage.GetInfo(uri_utf8, true, info, error); @@ -43,7 +43,7 @@ GetInfo(Storage &storage, const char *uri_utf8, FileInfo &info) } bool -GetInfo(StorageDirectoryReader &reader, FileInfo &info) +GetInfo(StorageDirectoryReader &reader, StorageFileInfo &info) { Error error; bool success = reader.GetInfo(true, info, error); @@ -55,7 +55,7 @@ GetInfo(StorageDirectoryReader &reader, FileInfo &info) bool DirectoryExists(Storage &storage, const Directory &directory) { - FileInfo info; + StorageFileInfo info; if (!storage.GetInfo(directory.GetPath(), true, info, IgnoreError())) return false; @@ -67,7 +67,7 @@ DirectoryExists(Storage &storage, const Directory &directory) static bool GetDirectoryChildInfo(Storage &storage, const Directory &directory, - const char *name_utf8, FileInfo &info, Error &error) + const char *name_utf8, StorageFileInfo &info, Error &error) { const auto uri_utf8 = PathTraitsUTF8::Build(directory.GetPath(), name_utf8); @@ -78,7 +78,7 @@ bool directory_child_is_regular(Storage &storage, const Directory &directory, const char *name_utf8) { - FileInfo info; + StorageFileInfo info; return GetDirectoryChildInfo(storage, directory, name_utf8, info, IgnoreError()) && info.IsRegular(); |