Transm...t::File(3pm)

πŸ“¦
version 0.0806 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ¦‹ NAME πŸ¦‹

Transmission::Torrent::File β€” bestie, it's literally just one single file living inside a Transmission torrent πŸ’–

This is the page for Transm...t::File(3pm) β€” the lil' file-object module from the User Contributed Perl Documentation. One torrent, many files, and this is the one-file-at-a-time vibe check ✨


🌸 ATTRIBUTES 🌸

Okay so here's everything you can peek at on a file object, no cap πŸ‘‘

πŸŽ€ id

$int = $self->id;

This is the file's index in the files list β€” like its little seat number in the lineup πŸͺ‘

πŸŽ€ length

$num = $self->length;

File size, in bytes. That's it, that's the number πŸ’…

πŸŽ€ name

$str = $self->name;

The name. The whole identity. The main character energy of the filename 🌟

πŸŽ€ bytes_completed

$num = $self->bytes_completed;

Bytes downloaded so far, fr fr β€” your progress bar's whole personality πŸ“ˆ

πŸŽ€ wanted

$bool = $self->wanted;

A flag that decides if this file will be downloaded or not. true means yes bestie we're getting it, false means not today πŸ™ˆ

πŸŽ€ priority

$int = $self->priority;

Low, Normal or High β€” with the respectable values -1, 0 and 1 respectively. Yes, respectable, the docs said it, not me 😌


πŸ’… METHODS πŸ’…

✨ BUILDARGS

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

Converts keys in %args from "CamelCase" to "camel_case" β€” the glow-up every argument deserves πŸ¦‹


πŸ“œ LICENSE πŸ“œ

(Yeah bestie, this section is genuinely empty in the original β€” nothing here, no cap, moving on πŸ™ˆπŸ’€)


πŸ‘‘ AUTHOR πŸ‘‘

See Transmission::Client β€” that's where the author deets live, iykyk 🫢


That's the whole page, gorgeous. This one shipped with perl v5.36.0, dated 2022-10-16, and its footer stamps it as Transm...t::File(3pm) from the User Contributed Perl Documentation. Consider the vibe checked, the file understood, and yourself slaying πŸ’œβœ¨

πŸ“¦ where this page comes from