mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-28 10:52:03 +08:00
fixup! Reformat source #2
This commit is contained in:
parent
c2676df2f8
commit
21ee76a44d
@ -484,9 +484,7 @@ ACTOR Future<Void> deleteRecursively_impl(Reference<S3BlobStoreEndpoint> b,
|
|||||||
loop {
|
loop {
|
||||||
choose {
|
choose {
|
||||||
// Throw if done throws, otherwise don't stop until end_of_stream
|
// Throw if done throws, otherwise don't stop until end_of_stream
|
||||||
when(wait(done)) {
|
when(wait(done)) { done = Never(); }
|
||||||
done = Never();
|
|
||||||
}
|
|
||||||
|
|
||||||
when(S3BlobStoreEndpoint::ListResult list = waitNext(resultStream.getFuture())) {
|
when(S3BlobStoreEndpoint::ListResult list = waitNext(resultStream.getFuture())) {
|
||||||
for (auto& object : list.objects) {
|
for (auto& object : list.objects) {
|
||||||
@ -1197,9 +1195,7 @@ ACTOR Future<S3BlobStoreEndpoint::ListResult> listObjects_impl(Reference<S3BlobS
|
|||||||
loop {
|
loop {
|
||||||
choose {
|
choose {
|
||||||
// Throw if done throws, otherwise don't stop until end_of_stream
|
// Throw if done throws, otherwise don't stop until end_of_stream
|
||||||
when(wait(done)) {
|
when(wait(done)) { done = Never(); }
|
||||||
done = Never();
|
|
||||||
}
|
|
||||||
|
|
||||||
when(S3BlobStoreEndpoint::ListResult info = waitNext(resultStream.getFuture())) {
|
when(S3BlobStoreEndpoint::ListResult info = waitNext(resultStream.getFuture())) {
|
||||||
results.commonPrefixes.insert(
|
results.commonPrefixes.insert(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user