sort_manifest_entries

Function sort_manifest_entries 

Source
pub fn sort_manifest_entries(
    entries: Vec<ManifestEntry>,
) -> Result<Vec<ManifestEntry>>
Expand description

Sorts entries and rejects duplicate torrent paths.

ยงErrors

Returns a metainfo error if two entries map to the same torrent path.