Skip to main content

cacache

1 configuration option · available in Rust, Python, Node.js, Java

Quick start
use opendal::Operator;

let op = Operator::via_iter("cacache", [
])?;
All configuration options (copy & trim)
Full reference
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.

Configuration reference

General1
KeyTypeRequiredDescription
datadirstringnoThat path to the cacache data directory.