Skip to content

Commit

Permalink
update of the function names in the comment
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Hofstetter <[email protected]>
  • Loading branch information
sylvestre and cakebaker authored Dec 20, 2023
1 parent ed97d2c commit 6032a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uu/ls/src/ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3224,7 +3224,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)
Expand Down

0 comments on commit 6032a94

Please sign in to comment.