sapling/eden/integration/helpers
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
..
CMakeLists.txt fs: fix license header 2022-01-04 15:00:07 -08:00
fake_edenfs.cpp utils: deny building an AbsolutePath from a literal 2022-11-22 16:20:30 -08:00
fsattr.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
TakeoverTool.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
ZeroBlob.cpp migrate integration helpers to folly portability 2022-08-19 12:38:22 -07:00