Mercurial > hg > orthanc-webviewer
diff Orthanc/Core/FileStorage/FilesystemStorage.cpp @ 150:1a90184363f8
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 17:24:53 +0100 |
parents | d850500b8ca6 |
children | 5dc54316d68b |
line wrap: on
line diff
--- a/Orthanc/Core/FileStorage/FilesystemStorage.cpp Wed Nov 09 15:31:51 2016 +0100 +++ b/Orthanc/Core/FileStorage/FilesystemStorage.cpp Wed Nov 09 17:24:53 2016 +0100 @@ -39,7 +39,7 @@ #include "../Logging.h" #include "../OrthancException.h" #include "../Toolbox.h" -#include "../Uuid.h" +#include "../SystemToolbox.h" #include <boost/filesystem/fstream.hpp> @@ -83,7 +83,7 @@ //root_ = boost::filesystem::absolute(root).string(); root_ = root; - Toolbox::MakeDirectory(root); + SystemToolbox::MakeDirectory(root); } @@ -143,7 +143,7 @@ } } - Toolbox::WriteFile(content, size, path.string()); + SystemToolbox::WriteFile(content, size, path.string()); } @@ -155,7 +155,7 @@ << "\" content type"; content.clear(); - Toolbox::ReadFile(content, GetPath(uuid).string()); + SystemToolbox::ReadFile(content, GetPath(uuid).string()); } @@ -177,7 +177,7 @@ { for (fs::recursive_directory_iterator current(root_), end; current != end ; ++current) { - if (Toolbox::IsRegularFile(current->path().string())) + if (SystemToolbox::IsRegularFile(current->path().string())) { try {