forked from extern/nushell
Change ls to output path (#2829)
* make name a path vs string * add support for comparing path to string
This commit is contained in:
@ -979,7 +979,7 @@ pub(crate) fn dir_entry_dict(
|
||||
)
|
||||
})?;
|
||||
|
||||
dict.insert_untagged("name", UntaggedValue::string(name));
|
||||
dict.insert_untagged("name", UntaggedValue::path(name));
|
||||
|
||||
if let Some(md) = metadata {
|
||||
dict.insert_untagged("type", get_file_type(md));
|
||||
|
Reference in New Issue
Block a user