ΒΆstd::error_code is_other(const llvm::Twine& path,
bool& result)
std::error_code is_other(const llvm::Twine& path,
bool& result)
Description
Is path something that exists but is not a directory, regular file, or symlink?
Declared at: llvm/include/llvm/Support/FileSystem.h:635
Parameters
- const llvm::Twine& path
- Input path.
- bool& result
- Set to true if \a path exists, but is not a directory, regular file, or a symlink, false if it does not. Undefined otherwise.
Returns
errc::success if result has been successfully set, otherwise a platform-specific error_code.