Mercurial > hg > orthanc
diff OrthancFramework/Sources/TemporaryFile.cpp @ 4230:b313a0001893
WebDavStorage
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 06 Oct 2020 18:14:26 +0200 |
parents | bf7b9edf6b81 |
children | 785a2713323e |
line wrap: on
line diff
--- a/OrthancFramework/Sources/TemporaryFile.cpp Tue Oct 06 13:13:17 2020 +0200 +++ b/OrthancFramework/Sources/TemporaryFile.cpp Tue Oct 06 18:14:26 2020 +0200 @@ -126,4 +126,10 @@ std::string empty; Write(empty); } + + + uint64_t TemporaryFile::GetFileSize() const + { + return SystemToolbox::GetFileSize(path_); + } }