mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 23:55:08 +00:00
28cd33e actually changed the behaviour of GetFilesInFolderHelper.
This commit is contained in:
parent
27c4222ef1
commit
b145243a64
@ -215,8 +215,8 @@ static void GetFilesInFolderHelper(
|
|||||||
if (file.name[0] != '.') {
|
if (file.name[0] != '.') {
|
||||||
if (file.is_dir) {
|
if (file.is_dir) {
|
||||||
if (recursive) {
|
if (recursive) {
|
||||||
std::string child_dir = q.front().first + file.name + "/";
|
std::string child_dir = q.front().second + file.name + "/";
|
||||||
if (!IsSymLink(child_dir))
|
if (!IsSymLink(file.path))
|
||||||
q.push(make_pair(file.path, child_dir));
|
q.push(make_pair(file.path, child_dir));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user