GitHub user crwen created a discussion: Can root path be deleted?

If root is `/a/b/`,`b/` can be deleted by using `Operator::delete("/")`. Does 
this make sense?

```rust
#[tokio::test]
async fn delete_root() {
    // set root to "a/b/"
    let builder = FsConfig::default().into_builder().root("/a/b/");

    let op = Operator::new(builder).unwrap().finish();

    op.delete("/").await.unwrap(); // b will be deteleted
}
```

GitHub link: https://github.com/apache/opendal/discussions/7030

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to