aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/StorageCommands.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/command/StorageCommands.cxx
parente1a434edbc84528fcd85e337ebf713c75124ba2b (diff)
downloadmpd-2d06a8e8804b1db64c7564532362eecdf7ad81d3.tar.gz
mpd-2d06a8e8804b1db64c7564532362eecdf7ad81d3.tar.xz
mpd-2d06a8e8804b1db64c7564532362eecdf7ad81d3.zip
storage/FileInfo: rename to StorageFileInfo
Diffstat (limited to '')
-rw-r--r--src/command/StorageCommands.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/command/StorageCommands.cxx b/src/command/StorageCommands.cxx
index a138ee2fe..624ff92c6 100644
--- a/src/command/StorageCommands.cxx
+++ b/src/command/StorageCommands.cxx
@@ -64,23 +64,23 @@ handle_listfiles_storage(Client &client, StorageDirectoryReader &reader,
if (skip_path(name_utf8))
continue;
- FileInfo info;
+ StorageFileInfo info;
if (!reader.GetInfo(false, info, error))
continue;
switch (info.type) {
- case FileInfo::Type::OTHER:
+ case StorageFileInfo::Type::OTHER:
/* ignore */
continue;
- case FileInfo::Type::REGULAR:
+ case StorageFileInfo::Type::REGULAR:
client_printf(client, "file: %s\n"
"size: %" PRIu64 "\n",
name_utf8,
info.size);
break;
- case FileInfo::Type::DIRECTORY:
+ case StorageFileInfo::Type::DIRECTORY:
client_printf(client, "directory: %s\n", name_utf8);
break;
}