mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-26 18:16:45 +00:00
Deprecate usage of some functions in boost (#130)
Some checks failed
Build / build (push) Has been cancelled
Some checks failed
Build / build (push) Has been cancelled
* Deprecate usage of boost::filesystem::load_string_file and save_string_file * some other deperated functions * remove complete() * normal, save, load
This commit is contained in:
@@ -196,7 +196,7 @@ TYPED_TEST(TestResolve, pathRange) {
|
||||
auto path = PathAt("/a/b/c/d");
|
||||
Path trace;
|
||||
auto result = co_await PathResolveOp(*txn, aclCache, SUPER_USER, &trace).pathRange(path);
|
||||
std::cout << "resolve " << *path.path << " -> " << trace << " " << trace.normalize() << std::endl;
|
||||
std::cout << "resolve " << *path.path << " -> " << trace << " " << trace.lexically_normal() << std::endl;
|
||||
CO_ASSERT_OK(result);
|
||||
CO_ASSERT_TRUE(result->missing.empty()) << result->missing;
|
||||
CO_ASSERT_EQ(result->getParentId(), c.id);
|
||||
@@ -208,7 +208,7 @@ TYPED_TEST(TestResolve, pathRange) {
|
||||
auto path = Path("/a/b/c/e");
|
||||
Path trace;
|
||||
auto result = co_await PathResolveOp(*txn, aclCache, SUPER_USER, &trace).pathRange(path);
|
||||
std::cout << "resolve " << path << " -> " << trace << " " << trace.normalize() << std::endl;
|
||||
std::cout << "resolve " << path << " -> " << trace << " " << trace.lexically_normal() << std::endl;
|
||||
CO_ASSERT_OK(result);
|
||||
CO_ASSERT_TRUE(result->missing.empty()) << result->missing;
|
||||
CO_ASSERT_EQ(result->getParentId(), c.id);
|
||||
@@ -221,7 +221,7 @@ TYPED_TEST(TestResolve, pathRange) {
|
||||
Path trace;
|
||||
auto result = co_await PathResolveOp(*txn, aclCache, SUPER_USER, &trace).pathRange(path);
|
||||
CO_ASSERT_OK(result);
|
||||
std::cout << "resolve " << *path.path << " -> " << trace << " " << trace.normalize() << std::endl;
|
||||
std::cout << "resolve " << *path.path << " -> " << trace << " " << trace.lexically_normal() << std::endl;
|
||||
CO_ASSERT_TRUE(result->missing.empty()) << result->missing;
|
||||
CO_ASSERT_EQ(result->getParentId(), c.id);
|
||||
CO_ASSERT_EQ(result->dirEntry.value(), dEntry);
|
||||
|
||||
Reference in New Issue
Block a user