@@ -57,8 +57,8 @@ std::unique_ptr<ReadFile> FaultyFileSystem::openFileForRead(
57
57
std::string_view path,
58
58
const FileOptions& options) {
59
59
const std::string delegatedPath = std::string (extractPath (path));
60
- auto delegatedFile = getFileSystem (
61
- delegatedPath, config_) ->openFileForRead (delegatedPath, options);
60
+ auto delegatedFile = getFileSystem (delegatedPath, config_)
61
+ ->openFileForRead (delegatedPath, options);
62
62
return std::make_unique<FaultyReadFile>(
63
63
std::string (path), std::move (delegatedFile), [&](FaultFileOperation* op) {
64
64
maybeInjectFileFault (op);
@@ -70,7 +70,7 @@ std::unique_ptr<WriteFile> FaultyFileSystem::openFileForWrite(
70
70
const FileOptions& options) {
71
71
const std::string delegatedPath = std::string (extractPath (path));
72
72
auto delegatedFile = getFileSystem (delegatedPath, config_)
73
- ->openFileForWrite (delegatedPath, options);
73
+ ->openFileForWrite (delegatedPath, options);
74
74
return std::make_unique<FaultyWriteFile>(
75
75
std::string (path), std::move (delegatedFile), [&](FaultFileOperation* op) {
76
76
maybeInjectFileFault (op);
@@ -115,8 +115,8 @@ std::vector<std::string> FaultyFileSystem::listFolders(std::string_view path) {
115
115
const auto delegatedDirPath = extractPath (path);
116
116
const auto delegatedFolders =
117
117
getFileSystem (delegatedDirPath, config_)->listFolders (delegatedDirPath);
118
- // NOTE: we shall return the faulty folder paths instead of the delegated folder
119
- // paths for list result.
118
+ // NOTE: we shall return the faulty folder paths instead of the delegated
119
+ // folder paths for list result.
120
120
std::vector<std::string> folders;
121
121
folders.reserve (delegatedFolders.size ());
122
122
for (const auto & delegateFolder : delegatedFolders) {
0 commit comments