mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
This PR adds API to set a file's last accessed and last modified times, as well as a `touch()` shorthand that updates both to the current time. Motivation: Feature request: https://github.com/apple/swift-nio/issues/2712 Modifications: This PR adds API to set a file's last accessed and last modified times, as well as a `touch()` shorthand that updates both to the current time. Result: Files' last accessed and last modified times can be updated.