We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
lexically_relative
1 parent 3b534c8 commit d6dd040Copy full SHA for d6dd040
src/writer/internal/inode_ordering.cpp
@@ -228,7 +228,7 @@ void inode_ordering_<LoggerPolicy>::by_explicit_order(
228
path_order.resize(raw.size());
229
230
for (auto i : index) {
231
- paths[i] = fs::relative(raw[i]->any()->fs_path(), root_path);
+ paths[i] = raw[i]->any()->fs_path().lexically_relative(root_path);
232
233
if (auto it = order.find(paths[i]); it != order.end()) {
234
path_order[i] = it->second;
0 commit comments