rocksdb/env
Yanqin Jin 243852ec15 Add IsDirectory() to Env and FS (#6711)
Summary:
IsDirectory() is a common API to check whether a path is a regular file or
directory.
POSIX: call stat() and use S_ISDIR(st_mode)
Windows: PathIsDirectoryA() and PathIsDirectoryW()
HDFS: FileSystem.IsDirectory()
Java: File.IsDirectory()
...
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6711

Test Plan: make check

Reviewed By: anand1976

Differential Revision: D21053520

Pulled By: riversand963

fbshipit-source-id: 680aadfd8ce982b63689190cf31b3145d5a89e27
2020-04-17 14:39:18 -07:00
..
composite_env_wrapper.h Add IsDirectory() to Env and FS (#6711) 2020-04-17 14:39:18 -07:00
env.cc Pass IOStatus to write path and set retryable IO Error as hard error in BG jobs (#6487) 2020-03-27 16:04:43 -07:00
env_basic_test.cc Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00
env_chroot.cc Cache result of GetLogicalBufferSize in Linux (#6457) 2020-03-11 18:40:05 -07:00
env_chroot.h Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00
env_encryption.cc Add counter in perf_context to time cipher time (#6596) 2020-04-01 16:59:35 -07:00
env_hdfs.cc Add IsDirectory() to Env and FS (#6711) 2020-04-17 14:39:18 -07:00
env_posix.cc Simplify migration to FileSystem API (#6552) 2020-03-23 21:54:21 -07:00
env_test.cc Add IsDirectory() to Env and FS (#6711) 2020-04-17 14:39:18 -07:00
file_system.cc Pass IOStatus to write path and set retryable IO Error as hard error in BG jobs (#6487) 2020-03-27 16:04:43 -07:00
fs_posix.cc Add IsDirectory() to Env and FS (#6711) 2020-04-17 14:39:18 -07:00
io_posix.cc env: Add clearerr() before repeating an interrupted file read (#6609) 2020-03-29 21:56:31 -07:00
io_posix.h Cache result of GetLogicalBufferSize in Linux (#6457) 2020-03-11 18:40:05 -07:00
io_posix_test.cc Cache result of GetLogicalBufferSize in Linux (#6457) 2020-03-11 18:40:05 -07:00
mock_env.cc Attempt to recover from db with missing table files (#6334) 2020-03-20 19:30:48 -07:00
mock_env.h Attempt to recover from db with missing table files (#6334) 2020-03-20 19:30:48 -07:00
mock_env_test.cc Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00