Closed clonejo closed 9 months ago
A file called 01 1234 foo.mp3 breaks the file listing parser.
01 1234 foo.mp3
Reducing the file name to one number makes the example below work.
let file: File = dbg!(File::from_str( "-r--r--r-- 1 23 23 1234567 Jan 1 2000 01 1234 foo.mp3", )) .ok() .unwrap(); assert_eq!(file.name, "01 1234 foo.mp3");
File::from_str() returns SyntaxError.
File::from_str()
SyntaxError
78aee867
Description
A file called
01 1234 foo.mp3
breaks the file listing parser.Reducing the file name to one number makes the example below work.
Steps to reproduce
File::from_str()
returnsSyntaxError
.Environment