ΒΆllvm::Optional<llvm::sys::fs::file_status>
getFileStatus(llvm::StringRef Path)

Description

Gets status of file (or directory) at \p Path.

Declared at: clang/lib/DirectoryWatcher/DirectoryScanner.h:27

Parameters

llvm::StringRef Path

Returns

llvm::None if \p Path doesn't exist or can't get the status.