The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Transmission::Torrent::File - file within a Transmission torrent

ATTRIBUTES

id

 $int = $self->id;

This file index in the files list.

length

 $num = $self->length;

File size in bytes.

name

 $str = $self->name;

bytes_completed

 $num = $self->bytes_completed;

Bytes downloaded.

wanted

 $bool = $self->wanted;

Flag which decides if this file will be downloaded or not.

priority

 $int = $self->priority;

Low, Normal or High, with the respectable values: -1, 0 and 1.

METHODS

BUILDARGS

 $hash_ref = $class->BUILDARGS(\%args);

Convert keys in %args from "CamelCase" to "camel_case".

LICENSE

AUTHOR

See Transmission::Client