comparison Core/Toolbox.h @ 2906:2a504fef4ed7

AutodetectMimeType() now using boost::filesystem
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Oct 2018 12:29:55 +0100
parents 0196d07a900f
children ad0e7def3338
comparison
equal deleted inserted replaced
2905:ae20fccdd867 2906:2a504fef4ed7
115 size_t fromLevel); 115 size_t fromLevel);
116 116
117 bool IsChildUri(const UriComponents& baseUri, 117 bool IsChildUri(const UriComponents& baseUri,
118 const UriComponents& testedUri); 118 const UriComponents& testedUri);
119 119
120 std::string AutodetectMimeType(const std::string& path);
121
122 std::string FlattenUri(const UriComponents& components, 120 std::string FlattenUri(const UriComponents& components,
123 size_t fromLevel = 0); 121 size_t fromLevel = 0);
124 122
125 #if ORTHANC_ENABLE_MD5 == 1 123 #if ORTHANC_ENABLE_MD5 == 1
126 void ComputeMD5(std::string& result, 124 void ComputeMD5(std::string& result,