File creation time stx_btime
Feature Request
Currently on Linux, only st_atim, st_mtim, st_ctim from stat(2) are bound, but since 2018 there's also stx_btim from statx(2) for creation time. It would be neat to be able to access that without writing custom LibC bindings. Creation time is also often available on other systems afaik.
Besides, only mtim is directly available via File's modification_time, there is e.g. no access_time. I assume that was intentional, but if necessary, one can get to those properties also with Crystal::System::File.stat like Crystal internally does.
Admittedly querying creation time is an uncommon use case... but I needed it so I thought it's worth opening an issue anyway
This was briefly mentioned in https://github.com/crystal-lang/crystal/pull/5584#issuecomment-357505474 The reason it's not included is that support is very scarce and it's hard to make it portable.