| Index: webrtc/rtc_base/unixfilesystem.cc
|
| diff --git a/webrtc/rtc_base/unixfilesystem.cc b/webrtc/rtc_base/unixfilesystem.cc
|
| index ebf20c7c99fc8f8f1e59c2388f8a3c5989f2bc0b..3a63e23189703f02565a2058ac48944f56c408ac 100644
|
| --- a/webrtc/rtc_base/unixfilesystem.cc
|
| +++ b/webrtc/rtc_base/unixfilesystem.cc
|
| @@ -144,14 +144,6 @@ bool UnixFilesystem::IsFile(const Pathname& pathname) {
|
| return res == 0 && !S_ISDIR(st.st_mode);
|
| }
|
|
|
| -bool UnixFilesystem::IsAbsent(const Pathname& pathname) {
|
| - struct stat st;
|
| - int res = ::stat(pathname.pathname().c_str(), &st);
|
| - // Note: we specifically maintain ENOTDIR as an error, because that implies
|
| - // that you could not call CreateFolder(pathname).
|
| - return res != 0 && ENOENT == errno;
|
| -}
|
| -
|
| bool UnixFilesystem::GetFileSize(const Pathname& pathname, size_t *size) {
|
| struct stat st;
|
| if (::stat(pathname.pathname().c_str(), &st) != 0)
|
|
|