comparison OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp @ 4300:b30a8de92ad9

abi continued
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Nov 2020 19:33:18 +0100
parents 0034f855c023
children d9473bd5ed43
comparison
equal deleted inserted replaced
4299:3f85db78c441 4300:b30a8de92ad9
72 { 72 {
73 //root_ = boost::filesystem::absolute(root).string(); 73 //root_ = boost::filesystem::absolute(root).string();
74 root_ = root; 74 root_ = root;
75 75
76 SystemToolbox::MakeDirectory(root); 76 SystemToolbox::MakeDirectory(root);
77 }
78
79 FilesystemStorage::FilesystemStorage(const std::string &root) :
80 fsyncOnWrite_(false)
81 {
82 Setup(root);
83 }
84
85 FilesystemStorage::FilesystemStorage(const std::string &root,
86 bool fsyncOnWrite) :
87 fsyncOnWrite_(fsyncOnWrite)
88 {
89 Setup(root);
77 } 90 }
78 91
79 92
80 93
81 static const char* GetDescriptionInternal(FileContentType content) 94 static const char* GetDescriptionInternal(FileContentType content)