sapling/eden/fs/store/test
Xavier Deguillard b7d87d807a utils: deny building an AbsolutePath from a literal
Summary:
We've had a couple of failures after landing D40818724 (f199e93924) due to some places still
building AbsolutePath from a literal. On Windows, this is almost always a bug
due to paths usually not being UNC.

To avoid this issue, we can simply forbid an AbsolutePath from being built in
the first place from a path, instead forcing the use of canonicalPath. This was
suggeted by mshroyer in the orignal diff.

Reviewed By: chadaustin

Differential Revision: D41229194

fbshipit-source-id: 3451bdcba276c87f98326b025e05f6a4eddbd1b7
2022-11-22 16:20:30 -08:00
..
BlobAccessTest.cpp allow delayed opening of localStore 2022-08-19 10:45:59 -07:00
BlobCacheTest.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
CMakeLists.txt store: speed up ObjectCache by 1.64x 2022-08-16 17:57:39 -07:00
DiffTest.cpp inodes: no longer follow symlinks for gitignore 2022-07-13 19:30:34 -07:00
ImportPriorityTest.cpp refactor ImportPriority 2022-11-15 16:23:30 -08:00
LocalStoreTest.cpp utils: AbsolutePath are always UNC on Windows 2022-11-08 08:49:16 -08:00
LocalStoreTest.h allow delayed opening of localStore 2022-08-19 10:45:59 -07:00
ObjectCacheBench.cpp store: add a insertSimple benchmark 2022-09-09 17:12:03 -07:00
ObjectCacheTest.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
ObjectStoreTest.cpp decouple ObjectFetchContext lifetime from RequestContext 2022-11-15 13:35:45 -08:00
RocksDbLocalStoreBench.cpp utils: deny building an AbsolutePath from a literal 2022-11-22 16:20:30 -08:00
RocksDbLocalStoreTest.cpp utils: AbsolutePath are always UNC on Windows 2022-11-08 08:49:16 -08:00
TreeCacheTest.cpp model: use PathMap in Tree 2022-05-19 18:57:33 -07:00
TreeTest.cpp model: use PathMap in Tree 2022-05-19 18:57:33 -07:00