mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
update of the function names in the comment
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
This commit is contained in:
parent
53b3c782ef
commit
18035a5f82
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue