mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
func/fift: bugfixes
This commit is contained in:
parent
f67f5d879b
commit
38c3e39066
41 changed files with 248 additions and 99 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "td/utils/filesystem.h"
|
||||
#include "td/utils/port/path.h"
|
||||
#include "td/utils/PathView.h"
|
||||
|
||||
#include <map>
|
||||
#include <utility>
|
||||
|
@ -51,7 +52,7 @@ class KeyValueDir : public KeyValue {
|
|||
return td::WalkPath::Action::SkipDir;
|
||||
}
|
||||
} else if (type == td::WalkPath::Type::NotDir) {
|
||||
f(path);
|
||||
f(td::PathView::relative(path, directory_));
|
||||
}
|
||||
|
||||
return td::WalkPath::Action::Continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue