Skip to content

Commit 5bb319c

Browse files
Remove write_exclusive
1 parent 6507fda commit 5bb319c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

crates/iceberg/src/io/file_io.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -376,16 +376,6 @@ impl OutputFile {
376376
writer.close().await
377377
}
378378

379-
/// Create a new output file with given bytes.
380-
/// Error out if the file already exists
381-
pub async fn write_exclusive(&self, bs: Bytes) -> crate::Result<()> {
382-
self.op
383-
.write_with(self.relative_path(), bs)
384-
.if_not_exists(true)
385-
.await?;
386-
Ok(())
387-
}
388-
389379
/// Creates output file for continues writing.
390380
///
391381
/// # Notes

0 commit comments

Comments
 (0)