touchExisting

open fun touchExisting(file: File)(source)

Ensures that the given file (or directory) is marked as modified. The file (or directory) must exist.