Skip to main content

set_position

Function set_position 

Source
pub fn set_position(
    entries: &mut [QueueEntry],
    info_hash: Id20,
    new_pos: i32,
) -> Vec<(Id20, i32, i32)>
Expand description

Moves a torrent to a new absolute position. Shifts others to maintain density. Returns the list of (info_hash, old_pos, new_pos) for all changed entries.