ok Location sorting and processing is finally working as expected, still a few things to add like error_pages but will get there soon
This commit is contained in:
@@ -106,6 +106,13 @@ public:
|
||||
// ok now we need to add a thing where we check for files vs folders
|
||||
if (comp_lhs == comp_rhs)
|
||||
{
|
||||
|
||||
if (path_is_valid(root + path) == 2)
|
||||
--comp_lhs;
|
||||
if (path_is_valid(rhs.root + rhs.path) == 2)
|
||||
--comp_rhs;
|
||||
|
||||
/*
|
||||
std::cout << "locations are equal\n";
|
||||
std::string tmp_path_lhs = root + path;
|
||||
std::cout << "root + path: " << tmp_path_lhs << '\n';
|
||||
@@ -132,6 +139,7 @@ public:
|
||||
--comp_rhs;
|
||||
}
|
||||
// do i need to free c_path's ???
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user