mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
1c18cf23e5
Summary: This diff includes the following changes: - Typically, we stat the monitored file to check for changes. Then, if changes are detected, we open/fstat the file. If open fails, on subsequent operations, we can skip the stat check. - We only update the stat struct of the FileChangeMonitor member when the file is successfully opened/processed. This means that all file change checks are done relative to the processed file (rather than the results of the previous stat). - We still skip open/fstat if the isChanged() check indicates a file change because of a different stat error code. This will still result in the call-back being called. Reviewed By: simpkins Differential Revision: D9030118 fbshipit-source-id: def735fffe913f84b210cbf646f2849ab130bda4 |
||
---|---|---|
.. | ||
config | ||
fuse | ||
inodes | ||
journal | ||
model | ||
rocksdb | ||
service | ||
sqlite | ||
store | ||
takeover | ||
testharness | ||
utils | ||
CMakeLists.txt | ||
eden-config.h |