sapling/eden/fs/win
Xavier Deguillard 0273817488 win: simplify path management
Summary:
The StringConv.h header contains many functions to convert from Windows paths
to Eden's path (and vice versa) to workaround the fact that Eden's path don't
support wide strings that Windows uses. Let's simply add support for these wide
strings in PathFuncs so we can greatly simplify all the call sites. Instead of
calling "edenToWinName(winstr)", "PathComponent(winstr)" is both more
descriptive and more idiomatic.

To be fair, I'm not entirely a fan of the approach taken in this diff, as this
adds Windows specific code to PathFuncs.h, but I feel that the benefit is too
big to not do that.

Reviewed By: chadaustin

Differential Revision: D23004523

fbshipit-source-id: 3a1507e398a66909773251907db01e06603b91dd
2020-08-10 08:53:13 -07:00
..
mount win: simplify path management 2020-08-10 08:53:13 -07:00
service unify the EdenMain code on Windows 2020-05-28 09:01:03 -07:00
utils win: simplify path management 2020-08-10 08:53:13 -07:00
CMakeLists.txt win: remove WinStore and fold it in EdenDispatcher 2020-07-14 00:02:44 -07:00