diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-12-05 19:09:34 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:29:37 +0300 |
commit | 1b74903e669c43af4d1f41928af8c7613122c852 (patch) | |
tree | 7f51519c7575d2d25d33b61a5c9bb24ed4ea855d /platform/platform_win.cpp | |
parent | 272a6f84e80c4f0fa0d0688dbc321c0cce6f7c2b (diff) |
- Split Platform::GetFileSize() to GetFileSizeByName() and GetFileSizeByFullPath()
- Fixed country downloading for Android
- Improved unit tests for chunks downloader
Diffstat (limited to 'platform/platform_win.cpp')
-rw-r--r-- | platform/platform_win.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/platform_win.cpp b/platform/platform_win.cpp index 4d454f22f2..cd5e394a7e 100644 --- a/platform/platform_win.cpp +++ b/platform/platform_win.cpp @@ -81,9 +81,9 @@ Platform::~Platform() { } -bool Platform::IsFileExists(string const & file) const +bool Platform::IsFileExistsByFullPath(string const & filePath) { - return ::GetFileAttributesA(file.c_str()) != INVALID_FILE_ATTRIBUTES; + return ::GetFileAttributesA(filePath.c_str()) != INVALID_FILE_ATTRIBUTES; } int Platform::CpuCores() const |