is_other overloads
Synopses
Declared in <llvm/Support/FileSystem.h>
Does this status represent something that exists but is not a directory or regular file?
bool
is_other(basic_file_status const& status);
Is path something that exists but is not a directory, regular file, or symlink?
std::error_code
is_other(
Twine const& path,
bool& result);
Return Value
-
exists(s) && !is_regular_file(s) && !is_directory(s)
-
errc::success if result has been successfully set, otherwise a platform‐specific error_code.
Parameters
Name |
Description |
status |
A basic_file_status previously returned from status. |
path |
Input path. |
result |
Set to true if path exists, but is not a directory, regular file, or a symlink, false if it does not. Undefined otherwise. |
Created with MrDocs