Mercurial > hg > orthanc
comparison Core/Toolbox.cpp @ 1014:40e5255e7dc5
integration plugins->mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 10 Jul 2014 11:13:26 +0200 |
parents | 509e146c3cb3 |
children | 0bfeeb6d340f |
comparison
equal
deleted
inserted
replaced
991:2f76b92addd4 | 1014:40e5255e7dc5 |
---|---|
815 { | 815 { |
816 throw OrthancException("Unable to create the directory: " + path); | 816 throw OrthancException("Unable to create the directory: " + path); |
817 } | 817 } |
818 } | 818 } |
819 } | 819 } |
820 | |
821 | |
822 bool Toolbox::IsExistingFile(const std::string& path) | |
823 { | |
824 return boost::filesystem::exists(path); | |
825 } | |
826 | |
820 } | 827 } |
821 | 828 |