struct

ArrTop::TorrentSizes::CachedFile

Inherits Struct < Value < Object

One cached torrent file: just the fields size-matching needs (its path within the torrent and its byte size). Torrent file lists never change, so one fetch per torrent hash is cached for the process lifetime.

Constructors

new(name : String, size : Int64 | Nil)
Source

Instance methods

clone
Source
copy_with(name _name = @name, size _size = @size)
Source
name
size