clang 20.0.0git
Namespaces | Functions
DirectoryScanner.h File Reference
#include "clang/DirectoryWatcher/DirectoryWatcher.h"
#include "llvm/Support/FileSystem.h"
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Functions

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