Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The rust code gets the metadata from the opened file handle, which internally uses fstat (on Unix).

it would have been just as possible to write the code incorrectly by using the path version to get metadata.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: