Skip to content

Commit e519c3a

Browse files
authored
chore: Remove deprecated remove_all in FileIO (#1863)
## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> - Closes #. ## What changes are included in this PR? <!-- Provide a summary of the modifications in this PR. List the main changes such as new features, bug fixes, refactoring, or any other updates. --> ## Are these changes tested? <!-- Specify what test covers (unit test, integration test, etc.). If tests are not included in your PR, please explain why (for example, are they covered by existing tests)? -->
1 parent 75be9c6 commit e519c3a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

crates/iceberg/src/io/file_io.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,6 @@ impl FileIO {
9393
Ok(op.delete(relative_path).await?)
9494
}
9595

96-
/// Remove the path and all nested dirs and files recursively.
97-
///
98-
/// # Arguments
99-
///
100-
/// * path: It should be *absolute* path starting with scheme string used to construct [`FileIO`].
101-
#[deprecated(note = "use remove_dir_all instead", since = "0.4.0")]
102-
pub async fn remove_all(&self, path: impl AsRef<str>) -> Result<()> {
103-
let (op, relative_path) = self.inner.create_operator(&path)?;
104-
Ok(op.remove_all(relative_path).await?)
105-
}
106-
10796
/// Remove the path and all nested dirs and files recursively.
10897
///
10998
/// # Arguments
@@ -292,7 +281,6 @@ pub struct FileMetadata {
292281
/// Trait for reading file.
293282
///
294283
/// # TODO
295-
///
296284
/// It's possible for us to remove the async_trait, but we need to figure
297285
/// out how to handle the object safety.
298286
#[async_trait::async_trait]

0 commit comments

Comments
 (0)