mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
A Scalable, User-Friendly Source Control System.
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 |
||
---|---|---|
CMake | ||
common | ||
eden | ||
.gitignore | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
getdeps.py | ||
LICENSE | ||
PATENTS | ||
README.md |
Eden
Eden is a project with several components, the most prominent of which is a virtual filesystem built using FUSE.
Caveat Emptor
Eden is still in early stages of development. We are making it available now because we plan to start making references to it from our other open source projects, such as Buck, Watchman, and Nuclide.
The version that we provide on GitHub does not build yet.
This is because the code is exported verbatim from an internal repository at Facebook, and not all of the scaffolding from our internal repository can be easily extracted. The key areas where we need to shore things up are:
- The reinterpretations of build macros in
DEFS
. - A process for including third-party dependencies (presumably via Git submodules) and wiring up the
external_deps
argument in the build macros to point to them. - Providing the toolchain needed to power the [undocumented]
thrift_library()
rule in Buck.
The goal is to get Eden building on both Linux and OS X, though Linux support is expected to come first.