Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
Boshen opened this issue 2 years ago · comments
fs::read_to_string uses another path.metadata() stat call which is not needed.
path.metadata()
Wrong idea, stat is never read before reading a file.