Skip to main content

fs

2 configuration options · available in Rust, Python, Node.js, Java

Quick start
use opendal::Operator;

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

Configuration reference

General2
KeyTypeRequiredDescription
rootstringnoroot dir for backend
atomic_write_dirstringnotmp dir for atomic write