apache / opendal

Apache OpenDAL: One Layer, All Storage.
https://opendal.apache.org
Apache License 2.0
3.46k stars 486 forks source link

feat(core): add `if_not_exist` in `OpWrite` #5305

Closed kemingy closed 1 week ago

kemingy commented 1 week ago

Which issue does this PR close?

Closes #5286.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Add op.write_with(path, bs).if_not_exists(true)