pub fn parse_trashinfo(data: &[u8]) -> Result<TrashInfo, TrashInfoError>Expand description
Parse the raw bytes of a .trashinfo file.
§Errors
Returns TrashInfoError::MissingHeader when the first non-blank line is not
[Trash Info] (matched case-insensitively to tolerate the pre-1.0 [Trash info] casing), and TrashInfoError::MissingPath when no Path= key is
present. A missing or unparseable DeletionDate= is not an error — it
yields deleted_at == None. Never panics on hostile input.