Skip to main content

folder_id

Function folder_id 

Source
pub fn folder_id(name: &str) -> Result<i32, YukiError>
Expand description

Resolve a folder name or numeric ID to a Yuki archive folder ID.

Accepts a canonical name, a known alias, or a bare integer ID. An unrecognised name is an error rather than a fallback: silently resolving to folder 0 would return the whole archive and read as a legitimate result.