Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit 512619d

Browse files
committed
Remove unnecessary token arguments from stateful tokens example
1 parent bab620f commit 512619d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rfcs/20200505-transactional-fs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -669,16 +669,16 @@ Status MergeFiles(const string& fname, const string& dirname,
669669
<< status << "\". Continuing without transactions";
670670
}
671671
Env::Default()->AddToTransaction(token, dirname);
672-
status = Env::Default()->IsDirectory(dirname, token);
672+
status = Env::Default()->IsDirectory(dirname);
673673
if (!status.ok()) {
674-
status = Env::Default()->CreateDirectory(dirname, token);
674+
status = Env::Default()->CreateDirectory(dirname);
675675
if (!status.ok()) {
676676
return status;
677677
}
678678
}
679679
Env::Default()->AddToTransaction(token, fname);
680680
std::unique_ptr<WritableFile> output;
681-
status = Env::Default()->NewAppendableFile(fname, &output, token);
681+
status = Env::Default()->NewAppendableFile(fname, &output;
682682
if (!status.ok()) return status;
683683
for (const auto& inp : input_files) {
684684
Env::Default()->AddToTransaction(token, inp);

0 commit comments

Comments
 (0)