aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage/CompositeStorage.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-02-28 20:50:15 +0100
committerMax Kellermann <max@duempel.org>2015-02-28 23:00:26 +0100
commit2d06a8e8804b1db64c7564532362eecdf7ad81d3 (patch)
tree3083cbd252fa36f0dd31269b7a3be84b5acb4d1e /src/storage/CompositeStorage.cxx
parente1a434edbc84528fcd85e337ebf713c75124ba2b (diff)
downloadmpd-2d06a8e8804b1db64c7564532362eecdf7ad81d3.tar.gz
mpd-2d06a8e8804b1db64c7564532362eecdf7ad81d3.tar.xz
mpd-2d06a8e8804b1db64c7564532362eecdf7ad81d3.zip
storage/FileInfo: rename to StorageFileInfo
Diffstat (limited to 'src/storage/CompositeStorage.cxx')
-rw-r--r--src/storage/CompositeStorage.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/storage/CompositeStorage.cxx b/src/storage/CompositeStorage.cxx
index 94bbb6901..10a478c0d 100644
--- a/src/storage/CompositeStorage.cxx
+++ b/src/storage/CompositeStorage.cxx
@@ -56,7 +56,7 @@ public:
/* virtual methods from class StorageDirectoryReader */
const char *Read() override;
- bool GetInfo(bool follow, FileInfo &info, Error &error) override;
+ bool GetInfo(bool follow, StorageFileInfo &info, Error &error) override;
};
const char *
@@ -81,7 +81,7 @@ CompositeDirectoryReader::Read()
}
bool
-CompositeDirectoryReader::GetInfo(bool follow, FileInfo &info,
+CompositeDirectoryReader::GetInfo(bool follow, StorageFileInfo &info,
Error &error)
{
if (other != nullptr)
@@ -89,7 +89,7 @@ CompositeDirectoryReader::GetInfo(bool follow, FileInfo &info,
assert(current != names.end());
- info.type = FileInfo::Type::DIRECTORY;
+ info.type = StorageFileInfo::Type::DIRECTORY;
info.mtime = 0;
info.device = 0;
info.inode = 0;
@@ -275,7 +275,7 @@ CompositeStorage::FindStorage(const char *uri, Error &error) const
}
bool
-CompositeStorage::GetInfo(const char *uri, bool follow, FileInfo &info,
+CompositeStorage::GetInfo(const char *uri, bool follow, StorageFileInfo &info,
Error &error)
{
const ScopeLock protect(mutex);
@@ -288,7 +288,7 @@ CompositeStorage::GetInfo(const char *uri, bool follow, FileInfo &info,
const Directory *directory = f.directory->Find(f.uri);
if (directory != nullptr) {
error.Clear();
- info.type = FileInfo::Type::DIRECTORY;
+ info.type = StorageFileInfo::Type::DIRECTORY;
info.mtime = 0;
info.device = 0;
info.inode = 0;