Skip to main content

spawn_remote_listing

Function spawn_remote_listing 

Source
pub fn spawn_remote_listing<F>(
    ctx: OwnedSshContext,
    remote_path: String,
    show_hidden: bool,
    sort: BrowserSort,
    send: F,
)
where F: FnOnce(String, String, Result<Vec<FileEntry>, String>) + Send + 'static,
Expand description

Spawn background thread for remote directory listing. Sends result back via the provided sender function.