Struct bip_metainfo::File
[−]
[src]
pub struct File { // some fields omitted }
Contains information for a single file.
Methods
impl File
[src]
fn length(&self) -> i64
Length of the file in bytes.
fn md5sum(&self) -> Option<&[u8]>
Optional md5sum of the file.
Not used by bittorrent.
fn paths<'a>(&'a self) -> Paths<'a>
Iterator over the path elements of the file.
The last element is the name of the file.