Skip to content

StatFile

Compare
Choose a tag to compare
@djherbis djherbis released this 09 May 19:25
· 38 commits to master since this release
a1edc5d

Expose StatFile to all GOOS/GOARCH. In most cases this effectively just calls to os.File.Stat() and then Get() on the result.

On Windows however, this will reuse the file handle of the open os.File passed to it to perform the same work normally done by times.Stat (but saves reopening the file).