ΒΆllvm::sys::fs::file_type get_file_type(
const llvm::Twine& Path,
bool Follow = true)
llvm::sys::fs::file_type get_file_type(
const llvm::Twine& Path,
bool Follow = true)
Description
Does status represent a directory?
Declared at: llvm/include/llvm/Support/FileSystem.h:548
Parameters
- const llvm::Twine& Path
- The path to get the type of.
- bool Follow = true
- For symbolic links, indicates whether to return the file type of the link itself, or of the target.
Returns
A value from the file_type enumeration indicating the type of file.