clang
10.0.0git
|
#include "DirectoryScanner.h"
#include "clang/DirectoryWatcher/DirectoryWatcher.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/Path.h"
#include <CoreServices/CoreServices.h>
Go to the source code of this file.
Functions | |
static void | stopFSEventStream (FSEventStreamRef) |
static void | eventStreamCallback (ConstFSEventStreamRef Stream, void *ClientCallBackInfo, size_t NumEvents, void *EventPaths, const FSEventStreamEventFlags EventFlags[], const FSEventStreamEventId EventIds[]) |
FSEventStreamRef | createFSEventStream (StringRef Path, std::function< void(llvm::ArrayRef< DirectoryWatcher::Event >, bool)> Receiver, dispatch_queue_t Queue) |
Variables | |
constexpr const FSEventStreamEventFlags | StreamInvalidatingFlags |
constexpr const FSEventStreamEventFlags | ModifyingFileEvents |
FSEventStreamRef createFSEventStream | ( | StringRef | Path, |
std::function< void(llvm::ArrayRef< DirectoryWatcher::Event >, bool)> | Receiver, | ||
dispatch_queue_t | Queue | ||
) |
Definition at line 149 of file DirectoryWatcher-mac.cpp.
Referenced by stopFSEventStream().
|
static |
Definition at line 94 of file DirectoryWatcher-mac.cpp.
References clang::getFileStatus().
|
static |
Definition at line 197 of file DirectoryWatcher-mac.cpp.
References clang::DirectoryWatcher::create(), createFSEventStream(), clang::getAsFileEvents(), and clang::scanDirectory().
constexpr const FSEventStreamEventFlags ModifyingFileEvents |
Definition at line 90 of file DirectoryWatcher-mac.cpp.
constexpr const FSEventStreamEventFlags StreamInvalidatingFlags |
Definition at line 86 of file DirectoryWatcher-mac.cpp.