Closed gjcairo closed 3 weeks ago
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.
touch()
Feature request: https://github.com/apple/swift-nio/issues/2712
Files' last accessed and last modified times can be updated.
API breakage is expected, we're adding requirements to a protocol, but that's okay NIOFileSystem isn't stable API yet.
@swift-server-bot test this please
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.