mirror of
https://github.com/nushell/nushell.git
synced 2025-07-06 17:40:17 +02:00
remove old mv
command in favor of umv
(renamed to mv) (#12022)
# Description This PR removes our old nushell `mv` command in favor of the uutils/coreutils `uu_mv` crate's `mv` command which we integrated in 0.90.1. # User-Facing Changes # Tests + Formatting # After Submitting
This commit is contained in:
@ -66,6 +66,7 @@ fn get_interactive_confirmation(prompt: String) -> Result<bool, Box<dyn Error>>
|
||||
|
||||
/// Return `Some(true)` if the last change time of the `src` old than the `dst`,
|
||||
/// otherwisie return `Some(false)`. Return `None` if the `src` or `dst` doesn't exist.
|
||||
#[allow(dead_code)]
|
||||
pub fn is_older(src: &Path, dst: &Path) -> Option<bool> {
|
||||
if !dst.exists() || !src.exists() {
|
||||
return None;
|
||||
|
Reference in New Issue
Block a user