We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60281a0 commit 73c8febCopy full SHA for 73c8feb
bindings/python/src/operator.rs
@@ -179,8 +179,11 @@ impl Operator {
179
/// # Notes
180
///
181
/// - 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)
+ // pub fn delete(&self, path: &str) -> PyResult<()> {
+ // 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)
187
}
188
189
/// List current dir path.
0 commit comments