blob: ce4b4886f9c449893d68ca855059549020b178ad [file] [view]
## Capabilities
This service can be used to:
- [ ] create_dir
- [x] stat
- [x] read
- [x] write
- [x] delete
- [x] list
- [ ] copy
- [ ] rename
- [ ] presign
## Configuration
- `root`: Set the root path for this dashmap instance.
You can refer to [`DashmapBuilder`]'s docs for more information
## Example
### Via Builder
```rust,no_run
use opendal_core::Operator;
use opendal_core::Result;
use opendal_service_dashmap::Dashmap;
#[tokio::main]
async fn main() -> Result<()> {
let mut builder = Dashmap::default()
.root("/");
let op: Operator = Operator::new(builder)?.finish();
Ok(())
}
```