nushell/crates/nu-command/src/system
Devyn Cairns 5c7f7883c8
Add ErrSpan extension trait for Result (#12626)
# Description
This adds an extension trait to `Result` that wraps errors in `Spanned`,
saving the effort of calling `.map_err(|err| err.into_spanned(span))`
every time. This will hopefully make it even more likely that someone
will want to use a spanned `io::Error` and make it easier to remove the
impl for `From<io::Error> for ShellError` because that doesn't have span
information.
2024-04-23 10:39:55 +02:00
..
complete.rs Add ErrSpan extension trait for Result (#12626) 2024-04-23 10:39:55 +02:00
exec.rs Rename IoStream to OutDest (#12433) 2024-04-09 16:48:32 +00:00
mod.rs Initial implementation for uutils uname (#11684) 2024-03-25 16:51:50 -05:00
nu_check.rs Fix circular source causing Nushell to crash (#12262) 2024-04-19 09:38:08 +03:00
ps.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
registry_query.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
run_external.rs Add ErrSpan extension trait for Result (#12626) 2024-04-23 10:39:55 +02:00
sys.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
uname.rs cleanup coreutils tagging (#12286) 2024-03-25 17:13:46 -05:00
which_.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00