DOKK / manpages / debian 12 / libtransmission-client-perl / Transmission::Torrent::File.3pm.en
Transmission::Torrent::File(3pm) User Contributed Perl Documentation Transmission::Torrent::File(3pm)

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

 $int = $self->id;

This file index in the files list.

 $num = $self->length;

File size in bytes.

 $str = $self->name;

 $num = $self->bytes_completed;

Bytes downloaded.

 $bool = $self->wanted;

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

 $int = $self->priority;

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

BUILDARGS

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

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

See Transmission::Client

2022-10-16 perl v5.34.0