sapling/eden/fs/inodes/test
Katie Mancini 53d3f1e6cd Templatize ObjectCache
Summary:
We would like to use a limited size LRU cache fore trees as well as blobs,
so I am templatizing this to allow us to use this cache for trees.

Trees will not need to use Interest handles, but in the future we could use
this cache for blob metadata, which might want to use interest handles.
Additionally if we at somepoint change the inode tree scheme that would remove
the tree content from the inodes itself, interest handle might be useful for
trees. We could also use this cache proxy hashes which may or may not use
interest handles. Since some caches may want interest handles and others will
not I am creating get/insert functions that work with and without interest
handles.

Reviewed By: chadaustin

Differential Revision: D27797025

fbshipit-source-id: 6db3e6ade56a9f65f851c01eeea5de734371d8f0
2021-04-27 17:38:39 -07:00
..
CheckoutTest.cpp supress deprecated error for INSTANTIATE_TEST_CASE_P 2021-03-15 15:29:12 -07:00
CMakeLists.txt win: move win/utils onto utils/ 2020-09-22 09:09:56 -07:00
DiffTest.cpp Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
EdenDispatcherTest.cpp inodes: move dispatchers around 2021-02-10 11:52:06 -08:00
EdenMountTest.cpp inodes: make lastCheckoutTime an EdenTimestamp 2021-04-19 14:38:14 -07:00
FileInodeTest.cpp Templatize ObjectCache 2021-04-27 17:38:39 -07:00
FuseTest.cpp mount: rename the various mount/unmount promises 2020-06-10 19:29:33 -07:00
GlobNodeTest.cpp supress deprecated error for INSTANTIATE_TEST_CASE_P 2021-03-15 15:29:12 -07:00
InodeBaseTest.cpp pass context to getOrLoadChild 2020-08-31 10:05:02 -07:00
InodeLoaderTest.cpp Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
InodeMapTest.cpp inodes: thread an ObjectContext into unlink/rmdir 2021-03-04 17:51:50 -08:00
InodePtrTest.cpp win: make .eden/config an in-memory blob 2020-07-24 22:28:27 -07:00
InodeTableTest.cpp inodes: enable tests on @mode/win 2020-10-22 14:11:10 -07:00
InodeTimestampsTest.cpp inodes: enable InodeTimestampsTest on Windows 2020-04-28 21:37:50 -07:00
JournalUpdateTest.cpp inodes: enable tests on @mode/win 2020-10-22 14:11:10 -07:00
main.cpp inodes: enable tests on @mode/win 2020-10-22 14:11:10 -07:00
make_gold_master_overlay.cpp utils: introduce CaseSensitivity 2021-04-20 13:08:27 -07:00
OverlayBenchmark.cpp inodes: make tree-overlay a checkout configuration 2021-04-19 19:49:33 -07:00
OverlayTest.cpp inodes: make tree-overlay a checkout configuration 2021-04-19 19:49:33 -07:00
RemoveTest.cpp inodes: thread an ObjectContext into unlink/rmdir 2021-03-04 17:51:50 -08:00
RenameTest.cpp inodes: thread an ObjectContext into unlink/rmdir 2021-03-04 17:51:50 -08:00
SymlinkTest.cpp inodes: enable tests on @mode/win 2020-10-22 14:11:10 -07:00
TraverseTest.cpp inodes: make TraverseTest compile on Windows 2020-11-16 16:25:22 -08:00
TreeInodeTest.cpp utils: introduce CaseSensitivity 2021-04-20 13:08:27 -07:00
UnloadTest.cpp supress deprecated error for INSTANTIATE_TEST_CASE_P 2021-03-15 15:29:12 -07:00