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 5b0dc5a commit bf30ee2Copy full SHA for bf30ee2
bindings/python/src/operator.rs
@@ -179,8 +179,8 @@ 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 exists(&self, path: &str) -> PyResult<(bool)> {
+ self.core.exists(path).map_err(format_pyerr)
184
}
185
186
/// List current dir path.
0 commit comments