chore: rename uid to user column in ls --long (#9407)

Fixes: #9389
This commit is contained in:
Amirhossein Akhlaghpour
2023-06-11 19:32:08 +03:30
committed by GitHub
parent be53ecbbaa
commit 73921f4bd7
2 changed files with 2 additions and 2 deletions

View File

@ -506,7 +506,7 @@ pub(crate) fn dir_entry_dict(
span,
});
cols.push("uid".into());
cols.push("user".into());
if let Some(user) = users::get_user_by_uid(md.uid()) {
vals.push(Value::String {
val: user.name().to_string_lossy().into(),