mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
2a08798f88
Summary: Move the InodeDispatcher class out of the lower-level fusell namespace in eden/fuse and into the higher-level eden code in eden/fs/inodes. I also renamed it from InodeDispatcher to EdenDispatcher, in anticipation of it getting more eden-specific functionality in the future. The fusell::MountPoint class is now independent of the Dispatcher type, and can work with any Dispatcher subclass. Previously the MountPoint class was responsible for owning the InodeDispatcher object. Now its caller (EdenMount in our case) is responsible for supplying a Dispatcher object that is owned externally. Several parts of EdenDispatcher had to be updated as a result of the namespace move, but I tried to keep this change somewhat minimal. I did update it from using fusell::DirInode and fusell::FileInode to eden's TreeInode and FileInode classes directly. However, there still remains more clean-up work to do. I will split remaining changes out into upcoming diffs. Reviewed By: bolinfest Differential Revision: D4257163 fbshipit-source-id: dc9c2526640798f9f924ae2531218ba2c45d1d0a |
||
---|---|---|
.. | ||
test | ||
Dirstate.cpp | ||
Dirstate.h | ||
DirstatePersistence.cpp | ||
DirstatePersistence.h | ||
EdenDispatcher.cpp | ||
EdenDispatcher.h | ||
EdenMount.cpp | ||
EdenMount.h | ||
EdenMounts.cpp | ||
EdenMounts.h | ||
FileData.cpp | ||
FileData.h | ||
FileHandle.cpp | ||
FileHandle.h | ||
FileInode.cpp | ||
FileInode.h | ||
Overlay.cpp | ||
Overlay.h | ||
overlay.thrift | ||
TARGETS | ||
TreeInode.cpp | ||
TreeInode.h | ||
TreeInodeDirHandle.cpp | ||
TreeInodeDirHandle.h |