MCPcopy Create free account

hub / github.com/PanAeon/transg-tui / functions

Functions92 in github.com/PanAeon/transg-tui

↓ 19 callersMethodexecute
(&self, json: Value)
src/transmission.rs:675
↓ 16 callersFunctionselect_first_torrent
(app: &mut App, sender: Sender<TorrentCmd>)
src/main.rs:974
↓ 10 callersFunctioncentered_rect
(percent_x: u16, percent_y: u16, r: Rect)
src/ui.rs:764
↓ 4 callersMethodget_torrent_details
(&self, ids: Vec<i64>)
src/transmission.rs:496
↓ 3 callersFunctionmove_up_down
(app: &mut App, down: bool)
src/main.rs:994
↓ 3 callersFunctionprocess_folder
(s: &str, base_dir: &str)
src/utils.rs:38
↓ 3 callersFunctionutf8_split
(input: &str, at: usize)
src/utils.rs:150
↓ 2 callersFunctioncalculate_folder_keys
(app: &mut App, skip_folder: Option<String>)
src/main.rs:62
↓ 2 callersFunctionfind_file_position
(path: &[usize], tree: &[FileIdx])
src/utils.rs:360
↓ 2 callersFunctionmost_recent_items
(torrents: &HashMap<i64, TorrentInfo>)
src/main.rs:1035
↓ 2 callersFunctionsend_full_update
(client: &TransmissionClient, update_sender: &mpsc::Sender<TorrentUpdate>)
src/command_processor.rs:187
↓ 2 callersFunctionupdate_session
a bit tricky config synchronization.., still better then Rc<Mutex>..
src/command_processor.rs:205
↓ 2 callersFunctionupdate_torrent_stats
(torrents: &HashMap<i64, TorrentInfo>)
src/torrent_stats.rs:35
↓ 1 callersFunctionaction_menu
(actions: &'a [Action], styles: &Styles)
src/ui.rs:429
↓ 1 callersFunctionbuild_file_tree
(files: &[transmission::File], add_icons: bool)
src/utils.rs:270
↓ 1 callersFunctionbuild_file_tree_index
(files: &[transmission::File])
src/utils.rs:332
↓ 1 callersFunctionbuild_tree
(files: &[transmission::File])
src/utils.rs:198
↓ 1 callersFunctionchoose_connection
(config: &Config, styles: &'a Styles)
src/ui.rs:567
↓ 1 callersFunctionchoose_sort_dialog
(styles: &Styles)
src/ui.rs:538
↓ 1 callersFunctioncompute_styles
(config: &Config)
src/config.rs:170
↓ 1 callersFunctiondelete_confirmation_dialog
(with_data: bool, name: &'a str, styles: &Styles)
src/ui.rs:592
↓ 1 callersFunctiondo_build_file_tree
TODO: add option to disable icons
src/utils.rs:213
↓ 1 callersFunctiondo_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 callersFunctiondo_build_tree
TODO: write something better..
src/utils.rs:158
↓ 1 callersFunctiondraw_tree
(items: Vec<TreeItem<'a>>, styles: &Styles)
src/ui.rs:755
↓ 1 callersFunctionempty_config
()
src/config.rs:121
↓ 1 callersFunctionerror_dialog
(msg: &'a str, details: &'a str, styles: &Styles)
src/ui.rs:519
↓ 1 callersFunctionfile_action_menu
(actions: &'a [Action], styles: &'a Styles)
src/ui.rs:477
↓ 1 callersMethodget_all_torrents
(&self, fields: &Vec<&str>)
src/transmission.rs:647
↓ 1 callersMethodget_free_space
(&self, path: &str)
src/transmission.rs:485
↓ 1 callersFunctionget_or_create_config
()
src/config.rs:139
↓ 1 callersMethodget_recent_torrents
returnes also removed array of torrent-id numbers of recently-removed torrents.
src/transmission.rs:635
↓ 1 callersMethodget_sender
(&self)
src/command_processor.rs:103
↓ 1 callersMethodget_session
(&self)
src/transmission.rs:475
↓ 1 callersMethodget_session_id
(&self)
src/transmission.rs:670
↓ 1 callersMethodget_session_stats
(&self)
src/transmission.rs:468
↓ 1 callersFunctionhelp_dialog
(styles: &Styles)
src/ui.rs:654
↓ 1 callersMethodis_find
(&self)
src/main.rs:57
↓ 1 callersFunctionmove_dialog
( frame: &mut Frame<B>, name: &str, folders: &[(String, char, usize)], connection: &Connection
src/ui.rs:609
↓ 1 callersFunctionopen_first_level
(app: &mut App)
src/main.rs:987
↓ 1 callersMethodqueue_move_bottom
(&self, ids: Vec<i64>)
src/transmission.rs:541
↓ 1 callersMethodqueue_move_down
(&self, ids: Vec<i64>)
src/transmission.rs:551
↓ 1 callersMethodqueue_move_top
(&self, ids: Vec<i64>)
src/transmission.rs:521
↓ 1 callersMethodqueue_move_up
(&self, ids: Vec<i64>)
src/transmission.rs:531
↓ 1 callersFunctionrender_details
(details: &'a TorrentDetails, styles: &Styles)
src/ui.rs:709
↓ 1 callersFunctionrender_filters
( groups: &TorrentGroupStats, transition: &Transition, mapping: &[(String, char, usize)], num_
src/ui.rs:337
↓ 1 callersFunctionrender_main_table
( _filter_state: &ListState, _groups: &TorrentGroupStats, torrents: &[TorrentInfo], styles: &S
src/ui.rs:280
↓ 1 callersMethodreset
(&mut self)
src/main.rs:137
↓ 1 callersMethodrun
(&mut self, config: Config, connection_idx: usize)
src/command_processor.rs:107
↓ 1 callersFunctionrun_app
TODO: min size 67 x 20, then super-min-size. then we need name, size, done, up, down
src/main.rs:205
↓ 1 callersMethodset_session_id
(&self, session_id: &str)
src/transmission.rs:666
↓ 1 callersMethodtorrent_add
(&self, torrent_add: &TorrentAdd)
src/transmission.rs:658
↓ 1 callersMethodtorrent_move
(&self, ids: Vec<i64>, location: &str, move_data: bool)
src/transmission.rs:622
↓ 1 callersMethodtorrent_reannounce
(&self, ids: Vec<i64>)
src/transmission.rs:601
↓ 1 callersMethodtorrent_remove
(&self, ids: Vec<i64>, delete_local_data: bool)
src/transmission.rs:611
↓ 1 callersMethodtorrent_start
(&self, ids: Vec<i64>)
src/transmission.rs:561
↓ 1 callersMethodtorrent_start_now
(&self, ids: Vec<i64>)
src/transmission.rs:571
↓ 1 callersMethodtorrent_stop
(&self, ids: Vec<i64>)
src/transmission.rs:581
↓ 1 callersMethodtorrent_verify
(&self, ids: Vec<i64>)
src/transmission.rs:591
↓ 1 callersFunctionui
(frame: &mut Frame<B>, app: &mut App)
src/ui.rs:23
↓ 1 callersMethodupdate
(&mut self, xs: &[Value])
src/transmission.rs:95
↓ 1 callersFunctionupdate_step
( receiver: &mut mpsc::Receiver<TorrentCmd>, update_sender: &mpsc::Sender<TorrentUpdate>, details_
src/command_processor.rs:228
Functionby_date_added
(xs: &mut [TorrentInfo])
src/main.rs:93
Functionby_ratio
(xs: &mut [TorrentInfo])
src/main.rs:101
Functionby_size
(xs: &mut [TorrentInfo])
src/main.rs:97
Functionby_uploaded
(xs: &mut [TorrentInfo])
src/main.rs:105
Methodcreate
()
src/command_processor.rs:90
Methoddefault
()
src/config.rs:92
Methoddescription
(&self)
src/transmission.rs:27
Methodempty
()
src/transmission.rs:210
Methodempty
()
src/torrent_stats.rs:19
Methodexpecting
(&self, formatter: &mut fmt::Formatter)
src/transmission.rs:139
Functionextract_domain_name
(s: &str)
src/ui.rs:700
Methodfmt
(&self, f: &mut fmt::Formatter)
src/transmission.rs:33
Functionformat_download_speed
(i: i64, hide_zero: bool)
src/utils.rs:77
Functionformat_eta
(secs: i64)
src/utils.rs:92
Functionformat_percent_done
(f: f64)
src/utils.rs:55
Functionformat_size
(i: i64)
src/utils.rs:63
Functionformat_status
(x: &TorrentStatus, err: i64)
src/utils.rs:117
Functionformat_time
(i: u64)
src/utils.rs:86
Functionformat_tracker_url
(s: &str)
src/ui.rs:703
Methodfrom_json
(json: &Value)
src/transmission.rs:66
Methodget_torrents
(&self, ids: Vec<i64>, fields: &Vec<&str>)
src/transmission.rs:509
Functionmain
()
src/main.rs:1012
Methodnew
(config: Config)
src/main.rs:161
Methodnew
(s: &str)
src/transmission.rs:19
Functionstatus_deserializer
(d: D)
src/transmission.rs:157
Functiontruth
()
src/config.rs:59
Methodtry_from
(value: i64)
src/transmission.rs:167
Functionutf8_truncate
(input: &mut String, maxsize: usize)
src/utils.rs:134
Methodvisit_i64
(self, value: i64)
src/transmission.rs:150
Methodvisit_u64
(self, value: u64)
src/transmission.rs:143