klyn.io.FilePath.touch
method
public native touch() as Void throws IOException
Description

Creates the file if it does not exist, or updates its last modification time.

Similar to the touch shell command.

Throws
  • IOException if the path points to a directory or cannot be updated.