Skip to content

Commit 820d6d9

Browse files
committed
fix: Expose version and if_match fields in DeleteOptions
Signed-off-by: Shashank Singh <shashanksgh3@gmail.com>
1 parent 3122cc8 commit 820d6d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/core/src/types/options.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ use std::collections::HashMap;
2424
#[derive(Debug, Clone, Default)]
2525
pub struct DeleteOptions {
2626
/// The version of the file to delete.
27-
pub(crate) version: Option<String>,
27+
pub version: Option<String>,
2828
/// Set `if_match` for this operation.
2929
///
3030
/// This option can be used to check if the file's `ETag` matches the given `ETag`.
3131
///
3232
/// If file exists and it's etag doesn't match, an error with kind [`ErrorKind::ConditionNotMatch`]
3333
/// will be returned.
34-
pub(crate) if_match: Option<String>,
34+
pub if_match: Option<String>,
3535
/// Whether to delete the target recursively.
3636
///
3737
/// - If `false`, behaves like the traditional single-object delete.

0 commit comments

Comments
 (0)