Rename the Path and Pattern primitives (#2889)

* Rename the Path primitive to FilePath

* Rename glob pattern also

* more fun

* Fix the Windows path methods
This commit is contained in:
Jonathan Turner
2021-01-08 20:30:41 +13:00
committed by GitHub
parent 2dcb16870b
commit 0e13d9fbaa
48 changed files with 146 additions and 131 deletions

View File

@ -979,7 +979,7 @@ pub(crate) fn dir_entry_dict(
)
})?;
dict.insert_untagged("name", UntaggedValue::path(name));
dict.insert_untagged("name", UntaggedValue::filepath(name));
if let Some(md) = metadata {
dict.insert_untagged("type", get_file_type(md));