mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
install: fix a typo
This commit is contained in:
parent
bfba889f8e
commit
adc9b12f32
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ fn directory(paths: Vec<String>, b: Behavior) -> i32 {
|
|||
}
|
||||
}
|
||||
|
||||
/// Test if the path is a a new file path that can be
|
||||
/// Test if the path is a new file path that can be
|
||||
/// created immediately
|
||||
fn is_new_file_path(path: &Path) -> bool {
|
||||
path.is_file() || !path.exists() && path.parent().map(Path::is_dir).unwrap_or(true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue