Skip to content

Commit 73c8feb

Browse files
committed
Issue: apache#5408
1 parent 60281a0 commit 73c8feb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bindings/python/src/operator.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,11 @@ impl Operator {
179179
/// # Notes
180180
///
181181
/// - Delete not existing error won't return errors.
182-
pub fn delete(&self, path: &str) -> PyResult<()> {
183-
self.core.delete(path).map_err(format_pyerr)
182+
// pub fn delete(&self, path: &str) -> PyResult<()> {
183+
// self.core.delete(path).map_err(format_pyerr)
184+
// }
185+
pub fn exists(&self, path: &str) -> PyResult<bool> {
186+
self.core.exists(path).map_err(format_pyerr)
184187
}
185188

186189
/// List current dir path.

0 commit comments

Comments
 (0)