Skip to main content

Module peer_flags

Module peer_flags 

Source
Expand description

qBittorrent-compatible peer-flag glyphs.

Returns the 15-glyph qBt v2 flag superset for a given PeerInfo, paired with a human-readable tooltip. Both the GUI and the Web UI consume this projection — the Web UI joins the chars into an <abbr>-decorated string, the GUI joins them into a single SharedString for the Peers tab’s flag column.

See webui.rs:875 for the original glyph table commentary.

Functions§

peer_flags
Compute the qBittorrent-compatible peer flags for a single peer.