Mercurial > hg > orthanc
diff Core/FileStorage/FilesystemStorage.cpp @ 2140:aa4b8895cd23
reorganization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 16:12:47 +0100 |
parents | 0c09d1af22f3 |
children | 5a8840920121 |
line wrap: on
line diff
--- a/Core/FileStorage/FilesystemStorage.cpp Wed Nov 09 15:25:09 2016 +0100 +++ b/Core/FileStorage/FilesystemStorage.cpp Wed Nov 09 16:12:47 2016 +0100 @@ -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 {