2 configuration options · available in Rust, Python, Node.js, Java
use opendal::Operator;
let op = Operator::via_iter("fs", [
])?;
use opendal::Operator;
let op = Operator::via_iter("fs", [
// root dir for backend
// ("root".to_string(), "...".to_string()),
// tmp dir for atomic write
// ("atomic_write_dir".to_string(), "...".to_string()),
])?;
Every option is passed as a string key; OpenDAL parses it into the right type. Some services may require building the binding with the matching services-* feature enabled.
| Key | Type | Required | Description |
|---|---|---|---|
root | string | no | root dir for backend |
atomic_write_dir | string | no | tmp dir for atomic write |