llvm::sys::fs::is_directory

Return whether Path is a directory, ignoring errors as false.

Synopsis

Declared in <llvm/Support/FileSystem.h>

bool
is_directory(Twine const& Path);

Return Value

True if the path is a directory, false otherwise.

Parameters

NameDescription
PathInput path.