Skip to main content

deserialize

Function deserialize 

Source
pub fn deserialize<'de, D>(deserializer: D) -> Result<Vec<PathBuf>, D::Error>
where D: Deserializer<'de>,
Expand description

Deserialize a single file path or a list of file paths into a Vec<PathBuf>.

The single-path form exists for backwards compatibility with config files written before --system became repeatable.