diff --git a/bindings/python/src/operator.rs b/bindings/python/src/operator.rs index 76cdb09f865..7c24bcd029a 100644 --- a/bindings/python/src/operator.rs +++ b/bindings/python/src/operator.rs @@ -182,6 +182,9 @@ impl Operator { pub fn delete(&self, path: &str) -> PyResult<()> { self.core.delete(path).map_err(format_pyerr) } + pub fn exists(&self, path: &str) -> PyResult { + self.core.exists(path).map_err(format_pyerr) + } /// List current dir path. pub fn list(&self, path: &str) -> PyResult {