1 configuration option · available in Rust, Python, Node.js, Java
use opendal::Operator;
let op = Operator::via_iter("cacache", [
])?;
use opendal::Operator;
let op = Operator::via_iter("cacache", [
// That path to the cacache data directory.
// ("datadir".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 |
|---|---|---|---|
datadir | string | no | That path to the cacache data directory. |