public class WatchedFileHashCache extends DefaultFileHashCache
Constructor and Description |
---|
WatchedFileHashCache(ProjectFilesystem projectFilesystem,
FileHashCacheMode fileHashCacheMode) |
Modifier and Type | Method and Description |
---|---|
void |
onFileSystemChange(WatchmanOverflowEvent event) |
void |
onFileSystemChange(WatchmanPathEvent event)
Called when file change events are posted to the file change EventBus to invalidate cached
build rules if required.
|
createBuckOutFileHashCache, createDefaultFileHashCache, createOsRootDirectoriesCaches, debugDump, get, getDefaultPathPredicate, getFilesystem, getForArchiveMember, getIfPresent, getSize, getStatsEvents, invalidate, invalidateAll, isIgnored, set, verify, willGet, willGet
public WatchedFileHashCache(ProjectFilesystem projectFilesystem, FileHashCacheMode fileHashCacheMode)
public void onFileSystemChange(WatchmanPathEvent event)
Path
s contained within events must all be relative to the
ProjectFilesystem
root.public void onFileSystemChange(WatchmanOverflowEvent event)