From 2d06a8e8804b1db64c7564532362eecdf7ad81d3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 28 Feb 2015 20:50:15 +0100 Subject: storage/FileInfo: rename to StorageFileInfo --- src/command/StorageCommands.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/command/StorageCommands.cxx') 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; } -- cgit v1.2.3