3 ms·
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 incor
by dgacmu 6y ago
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.