clang  14.0.0git
Namespaces | Functions
DirectoryScanner.h File Reference
#include "clang/DirectoryWatcher/DirectoryWatcher.h"
#include "llvm/Support/FileSystem.h"
#include <string>
#include <vector>
Include dependency graph for DirectoryScanner.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 clang
 

Functions

std::vector< std::stringclang::scanDirectory (llvm::StringRef Path)
 Gets names (filenames) of items in directory at Path. More...
 
std::vector< DirectoryWatcher::Event > clang::getAsFileEvents (const std::vector< std::string > &Scan)
 Create event with EventKind::Added for every element in Scan. More...
 
llvm::Optional< llvm::sys::fs::file_status > clang::getFileStatus (llvm::StringRef Path)
 Gets status of file (or directory) at Path. More...