Commit f32b972
authored
refactor: ScopedDeleter doesn't require metadata (#3380)
Before the change, `ScopedDeleter` kept `ObjectMetadata` of all object
to delete. This was unnecessary - object names and generation numbers
are enough, so this change stores them instead of the metadata. This is
useful when the caller has the information but doesn't have the full
metadata.1 parent 864b463 commit f32b972
File tree
5 files changed
+30
-21
lines changed- ci/test-abi
- google/cloud/storage
5 files changed
+30
-21
lines changedBinary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
| 348 | + | |
348 | 349 | | |
349 | 350 | | |
350 | 351 | | |
351 | 352 | | |
352 | 353 | | |
353 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
354 | 360 | | |
355 | 361 | | |
356 | 362 | | |
357 | | - | |
| 363 | + | |
358 | 364 | | |
359 | 365 | | |
360 | 366 | | |
| |||
363 | 369 | | |
364 | 370 | | |
365 | 371 | | |
366 | | - | |
| 372 | + | |
367 | 373 | | |
368 | 374 | | |
369 | 375 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3197 | 3197 | | |
3198 | 3198 | | |
3199 | 3199 | | |
3200 | | - | |
| 3200 | + | |
3201 | 3201 | | |
3202 | 3202 | | |
3203 | 3203 | | |
3204 | 3204 | | |
3205 | 3205 | | |
3206 | 3206 | | |
3207 | 3207 | | |
| 3208 | + | |
| 3209 | + | |
| 3210 | + | |
3208 | 3211 | | |
3209 | 3212 | | |
3210 | 3213 | | |
3211 | 3214 | | |
3212 | | - | |
3213 | | - | |
| 3215 | + | |
| 3216 | + | |
3214 | 3217 | | |
3215 | 3218 | | |
3216 | 3219 | | |
| |||
3288 | 3291 | | |
3289 | 3292 | | |
3290 | 3293 | | |
3291 | | - | |
3292 | | - | |
3293 | | - | |
3294 | | - | |
3295 | | - | |
3296 | | - | |
3297 | | - | |
3298 | | - | |
| 3294 | + | |
| 3295 | + | |
| 3296 | + | |
| 3297 | + | |
| 3298 | + | |
| 3299 | + | |
| 3300 | + | |
| 3301 | + | |
| 3302 | + | |
3299 | 3303 | | |
3300 | 3304 | | |
3301 | 3305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | | - | |
| 279 | + | |
| 280 | + | |
281 | 281 | | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
286 | 285 | | |
287 | 286 | | |
288 | 287 | | |
| |||
0 commit comments