From 18035a5f82e9f30e2f8fb1e3b6778df61fcd9067 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 20 Dec 2023 15:45:34 +0100 Subject: [PATCH] update of the function names in the comment Co-authored-by: Daniel Hofstetter --- src/uu/ls/src/ls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/ls/src/ls.rs b/src/uu/ls/src/ls.rs index d8fbde6e7..70d05d95e 100644 --- a/src/uu/ls/src/ls.rs +++ b/src/uu/ls/src/ls.rs @@ -3288,7 +3288,7 @@ fn color_name( if check_for_deref { // use the optional target_symlink - // Use fn get_metadata instead of md() here and above because ls + // Use fn get_metadata_with_deref_opt instead of get_metadata() here because ls // should not exit with an err, if we are unable to obtain the target_metadata let target = target_symlink.unwrap_or(path); let md = get_metadata_with_deref_opt(target.p_buf.as_path(), path.must_dereference)