Mercurial > hg > orthanc
comparison OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp @ 4273:0034f855c023
tuning log categories from command-line, and binary compat with orthanc framework 1.7.2
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 12:24:50 +0100 |
parents | b289a1234822 |
children | b30a8de92ad9 |
comparison
equal
deleted
inserted
replaced
4272:1661544ea94d | 4273:0034f855c023 |
---|---|
258 | 258 |
259 uintmax_t FilesystemStorage::GetAvailableSpace() const | 259 uintmax_t FilesystemStorage::GetAvailableSpace() const |
260 { | 260 { |
261 return boost::filesystem::space(root_).available; | 261 return boost::filesystem::space(root_).available; |
262 } | 262 } |
263 | |
264 | |
265 #if ORTHANC_BUILDING_FRAMEWORK_LIBRARY == 1 | |
266 FilesystemStorage::FilesystemStorage(std::string root) : | |
267 fsyncOnWrite_(false) | |
268 { | |
269 Setup(root); | |
270 } | |
271 #endif | |
263 } | 272 } |