Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PanAeon/transg-tui
/ functions
Functions
92 in github.com/PanAeon/transg-tui
⨍
Functions
92
◇
Types & classes
36
↓ 19 callers
Method
execute
(&self, json: Value)
src/transmission.rs:675
↓ 16 callers
Function
select_first_torrent
(app: &mut App, sender: Sender<TorrentCmd>)
src/main.rs:974
↓ 10 callers
Function
centered_rect
(percent_x: u16, percent_y: u16, r: Rect)
src/ui.rs:764
↓ 4 callers
Method
get_torrent_details
(&self, ids: Vec<i64>)
src/transmission.rs:496
↓ 3 callers
Function
move_up_down
(app: &mut App, down: bool)
src/main.rs:994
↓ 3 callers
Function
process_folder
(s: &str, base_dir: &str)
src/utils.rs:38
↓ 3 callers
Function
utf8_split
(input: &str, at: usize)
src/utils.rs:150
↓ 2 callers
Function
calculate_folder_keys
(app: &mut App, skip_folder: Option<String>)
src/main.rs:62
↓ 2 callers
Function
find_file_position
(path: &[usize], tree: &[FileIdx])
src/utils.rs:360
↓ 2 callers
Function
most_recent_items
(torrents: &HashMap<i64, TorrentInfo>)
src/main.rs:1035
↓ 2 callers
Function
send_full_update
(client: &TransmissionClient, update_sender: &mpsc::Sender<TorrentUpdate>)
src/command_processor.rs:187
↓ 2 callers
Function
update_session
a bit tricky config synchronization.., still better then Rc<Mutex>..
src/command_processor.rs:205
↓ 2 callers
Function
update_torrent_stats
(torrents: &HashMap<i64, TorrentInfo>)
src/torrent_stats.rs:35
↓ 1 callers
Function
action_menu
(actions: &'a [Action], styles: &Styles)
src/ui.rs:429
↓ 1 callers
Function
build_file_tree
(files: &[transmission::File], add_icons: bool)
src/utils.rs:270
↓ 1 callers
Function
build_file_tree_index
(files: &[transmission::File])
src/utils.rs:332
↓ 1 callers
Function
build_tree
(files: &[transmission::File])
src/utils.rs:198
↓ 1 callers
Function
choose_connection
(config: &Config, styles: &'a Styles)
src/ui.rs:567
↓ 1 callers
Function
choose_sort_dialog
(styles: &Styles)
src/ui.rs:538
↓ 1 callers
Function
compute_styles
(config: &Config)
src/config.rs:170
↓ 1 callers
Function
delete_confirmation_dialog
(with_data: bool, name: &'a str, styles: &Styles)
src/ui.rs:592
↓ 1 callers
Function
do_build_file_tree
TODO: add option to disable icons
src/utils.rs:213
↓ 1 callers
Function
do_build_file_tree_index
FIXME: rewrite this shit.. maybe last_parent, and cound '/' shit, need to take into account parents? wait, there're no parents! only list of files...
src/utils.rs:302
↓ 1 callers
Function
do_build_tree
TODO: write something better..
src/utils.rs:158
↓ 1 callers
Function
draw_tree
(items: Vec<TreeItem<'a>>, styles: &Styles)
src/ui.rs:755
↓ 1 callers
Function
empty_config
()
src/config.rs:121
↓ 1 callers
Function
error_dialog
(msg: &'a str, details: &'a str, styles: &Styles)
src/ui.rs:519
↓ 1 callers
Function
file_action_menu
(actions: &'a [Action], styles: &'a Styles)
src/ui.rs:477
↓ 1 callers
Method
get_all_torrents
(&self, fields: &Vec<&str>)
src/transmission.rs:647
↓ 1 callers
Method
get_free_space
(&self, path: &str)
src/transmission.rs:485
↓ 1 callers
Function
get_or_create_config
()
src/config.rs:139
↓ 1 callers
Method
get_recent_torrents
returnes also removed array of torrent-id numbers of recently-removed torrents.
src/transmission.rs:635
↓ 1 callers
Method
get_sender
(&self)
src/command_processor.rs:103
↓ 1 callers
Method
get_session
(&self)
src/transmission.rs:475
↓ 1 callers
Method
get_session_id
(&self)
src/transmission.rs:670
↓ 1 callers
Method
get_session_stats
(&self)
src/transmission.rs:468
↓ 1 callers
Function
help_dialog
(styles: &Styles)
src/ui.rs:654
↓ 1 callers
Method
is_find
(&self)
src/main.rs:57
↓ 1 callers
Function
move_dialog
( frame: &mut Frame<B>, name: &str, folders: &[(String, char, usize)], connection: &Connection
src/ui.rs:609
↓ 1 callers
Function
open_first_level
(app: &mut App)
src/main.rs:987
↓ 1 callers
Method
queue_move_bottom
(&self, ids: Vec<i64>)
src/transmission.rs:541
↓ 1 callers
Method
queue_move_down
(&self, ids: Vec<i64>)
src/transmission.rs:551
↓ 1 callers
Method
queue_move_top
(&self, ids: Vec<i64>)
src/transmission.rs:521
↓ 1 callers
Method
queue_move_up
(&self, ids: Vec<i64>)
src/transmission.rs:531
↓ 1 callers
Function
render_details
(details: &'a TorrentDetails, styles: &Styles)
src/ui.rs:709
↓ 1 callers
Function
render_filters
( groups: &TorrentGroupStats, transition: &Transition, mapping: &[(String, char, usize)], num_
src/ui.rs:337
↓ 1 callers
Function
render_main_table
( _filter_state: &ListState, _groups: &TorrentGroupStats, torrents: &[TorrentInfo], styles: &S
src/ui.rs:280
↓ 1 callers
Method
reset
(&mut self)
src/main.rs:137
↓ 1 callers
Method
run
(&mut self, config: Config, connection_idx: usize)
src/command_processor.rs:107
↓ 1 callers
Function
run_app
TODO: min size 67 x 20, then super-min-size. then we need name, size, done, up, down
src/main.rs:205
↓ 1 callers
Method
set_session_id
(&self, session_id: &str)
src/transmission.rs:666
↓ 1 callers
Method
torrent_add
(&self, torrent_add: &TorrentAdd)
src/transmission.rs:658
↓ 1 callers
Method
torrent_move
(&self, ids: Vec<i64>, location: &str, move_data: bool)
src/transmission.rs:622
↓ 1 callers
Method
torrent_reannounce
(&self, ids: Vec<i64>)
src/transmission.rs:601
↓ 1 callers
Method
torrent_remove
(&self, ids: Vec<i64>, delete_local_data: bool)
src/transmission.rs:611
↓ 1 callers
Method
torrent_start
(&self, ids: Vec<i64>)
src/transmission.rs:561
↓ 1 callers
Method
torrent_start_now
(&self, ids: Vec<i64>)
src/transmission.rs:571
↓ 1 callers
Method
torrent_stop
(&self, ids: Vec<i64>)
src/transmission.rs:581
↓ 1 callers
Method
torrent_verify
(&self, ids: Vec<i64>)
src/transmission.rs:591
↓ 1 callers
Function
ui
(frame: &mut Frame<B>, app: &mut App)
src/ui.rs:23
↓ 1 callers
Method
update
(&mut self, xs: &[Value])
src/transmission.rs:95
↓ 1 callers
Function
update_step
( receiver: &mut mpsc::Receiver<TorrentCmd>, update_sender: &mpsc::Sender<TorrentUpdate>, details_
src/command_processor.rs:228
Function
by_date_added
(xs: &mut [TorrentInfo])
src/main.rs:93
Function
by_ratio
(xs: &mut [TorrentInfo])
src/main.rs:101
Function
by_size
(xs: &mut [TorrentInfo])
src/main.rs:97
Function
by_uploaded
(xs: &mut [TorrentInfo])
src/main.rs:105
Method
create
()
src/command_processor.rs:90
Method
default
()
src/config.rs:92
Method
description
(&self)
src/transmission.rs:27
Method
empty
()
src/transmission.rs:210
Method
empty
()
src/torrent_stats.rs:19
Method
expecting
(&self, formatter: &mut fmt::Formatter)
src/transmission.rs:139
Function
extract_domain_name
(s: &str)
src/ui.rs:700
Method
fmt
(&self, f: &mut fmt::Formatter)
src/transmission.rs:33
Function
format_download_speed
(i: i64, hide_zero: bool)
src/utils.rs:77
Function
format_eta
(secs: i64)
src/utils.rs:92
Function
format_percent_done
(f: f64)
src/utils.rs:55
Function
format_size
(i: i64)
src/utils.rs:63
Function
format_status
(x: &TorrentStatus, err: i64)
src/utils.rs:117
Function
format_time
(i: u64)
src/utils.rs:86
Function
format_tracker_url
(s: &str)
src/ui.rs:703
Method
from_json
(json: &Value)
src/transmission.rs:66
Method
get_torrents
(&self, ids: Vec<i64>, fields: &Vec<&str>)
src/transmission.rs:509
Function
main
()
src/main.rs:1012
Method
new
(config: Config)
src/main.rs:161
Method
new
(s: &str)
src/transmission.rs:19
Function
status_deserializer
(d: D)
src/transmission.rs:157
Function
truth
()
src/config.rs:59
Method
try_from
(value: i64)
src/transmission.rs:167
Function
utf8_truncate
(input: &mut String, maxsize: usize)
src/utils.rs:134
Method
visit_i64
(self, value: i64)
src/transmission.rs:150
Method
visit_u64
(self, value: u64)
src/transmission.rs:143