Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cshuaimin/scd
/ functions
Functions
53 in github.com/cshuaimin/scd
⨍
Functions
53
◇
Types & classes
19
↓ 10 callers
Method
selected
(&self)
src/app.rs:180
↓ 8 callers
Function
run
Run a command in the shell.
src/shell/mod.rs:56
↓ 7 callers
Method
get_list
(&self)
src/file_manager.rs:375
↓ 5 callers
Method
apply_filter
(&mut self)
src/file_manager.rs:131
↓ 5 callers
Method
draw
( &self, file_manager: &FileManager<impl Watcher>, frame: &mut Frame<impl Backend>,
src/status_bar.rs:168
↓ 5 callers
Method
select
(&mut self, index: Option<usize>)
src/file_manager.rs:379
↓ 4 callers
Method
cd
(&mut self, mut dir: PathBuf)
src/file_manager.rs:95
↓ 4 callers
Method
select_first
(&mut self)
src/app.rs:189
↓ 4 callers
Function
send_event
Send a shell event to the file manager. This function is called on the shell side.
src/shell/mod.rs:91
↓ 3 callers
Method
ask
( &mut self, prompt: impl Into<String>, on_yes: impl Fn(&mut FileManager, &mut TaskMan
src/status_bar.rs:57
↓ 3 callers
Method
get_index
(&self)
src/file_manager.rs:371
↓ 2 callers
Method
edit
( &mut self, prompt: impl Into<String>, text: impl Into<String>, on_change: im
src/status_bar.rs:68
↓ 2 callers
Method
on_list_key
(&mut self, key: Key)
src/app.rs:221
↓ 2 callers
Function
read
(mut file: impl Read)
src/shell/mod.rs:45
↓ 2 callers
Method
read_dir
(&self)
src/file_manager.rs:118
↓ 2 callers
Method
select_file
(&mut self, name: String)
src/file_manager.rs:147
↓ 2 callers
Method
select_next
(&mut self)
src/app.rs:206
↓ 2 callers
Method
show_message
(&mut self, text: impl Into<String>)
src/status_bar.rs:50
↓ 2 callers
Function
write
(mut file: impl Write, buf: impl AsRef<[u8]>)
src/shell/mod.rs:38
↓ 1 callers
Function
format_size
(size: u64)
src/status_bar.rs:229
↓ 1 callers
Function
format_time
(mut secs: u64)
src/system_monitor.rs:12
↓ 1 callers
Function
load_open_methods
()
src/file_manager.rs:342
↓ 1 callers
Method
parse
(&self, line: String)
src/task_manager.rs:333
↓ 1 callers
Function
receive_events
(tx: Sender<Event>)
src/shell/mod.rs:97
↓ 1 callers
Method
run
(&mut self)
src/app.rs:71
↓ 1 callers
Method
select_last
(&mut self)
src/app.rs:198
↓ 1 callers
Method
select_prev
(&mut self)
src/app.rs:211
Method
default
()
src/task_manager.rs:286
Function
deinit
(pid: Pid)
src/shell/mod.rs:106
Method
draw
(&mut self, frame: &mut Frame<impl Backend>, area: Rect)
src/file_manager.rs:294
Method
draw
(&mut self, _frame: &mut Frame<impl Backend>, area: Rect)
src/task_manager.rs:191
Method
draw
(&self, frame: &mut Frame<impl Backend>, area: Rect)
src/system_monitor.rs:92
Method
get_index
(&self)
src/task_manager.rs:297
Method
get_list
(&self)
src/task_manager.rs:301
Function
main
()
src/main.rs:34
Method
new
()
src/file_manager.rs:72
Method
new
()
src/status_bar.rs:46
Method
new
()
src/app.rs:39
Method
new
(command: String, rendered: String, tx: Sender<Event>)
src/task_manager.rs:43
Method
new
()
src/system_monitor.rs:81
Method
new_task
(&mut self, command: String, rendered: String)
src/task_manager.rs:147
Method
on_event
(&mut self, event: Event)
src/task_manager.rs:118
Method
on_key
(&mut self, key: Key, status_bar: &mut StatusBar)
src/file_manager.rs:173
Method
on_key
( &mut self, key: Key, file_manager: &mut FileManager, task_manager: &mut Task
src/status_bar.rs:94
Method
on_key
(&mut self, key: Key, status_bar: &mut StatusBar)
src/task_manager.rs:154
Method
on_notify
(&mut self, event: notify::Event)
src/file_manager.rs:152
Method
on_shell_event
(&mut self, shell_event: shell::Event)
src/file_manager.rs:164
Method
on_tick
(&mut self, now: Instant)
src/status_bar.rs:86
Method
on_tick
(&mut self, _tick: Instant)
src/system_monitor.rs:87
Function
receive_command
Receive a shell command to run. This function is called on the shell side.
src/shell/mod.rs:82
Method
render
(mut self, area: Rect, buf: &mut Buffer)
src/system_monitor.rs:43
Method
select
(&mut self, index: Option<usize>)
src/task_manager.rs:305
Method
try_from
(entry: DirEntry)
src/file_manager.rs:39