Closed growse closed 4 years ago
As requested in #14.
Only really dodgy bit here is .to_string_lossy - the filename from the system comes as an OsStr, whereas we need unicode. I think it's probably reasonable to throw away non-UTF8 values in this case.
.to_string_lossy
OsStr
Argh, I broke it.
As requested in #14.
Only really dodgy bit here is
.to_string_lossy
- the filename from the system comes as anOsStr
, whereas we need unicode. I think it's probably reasonable to throw away non-UTF8 values in this case.