Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: facebook/rocksdb#6711 Test Plan: make check Reviewed By: anand1976 Differential Revision: D21053520 Pulled By: riversand963 fbshipit-source-id: 680aadfd8ce982b63689190cf31b3145d5a89e27 Signed-off-by: Changlong Chen <levisonchen@live.cn>
- Loading branch information