set

os.mtime.set
object set

Sets the mtime of the given file.

Note that this always follows links to set the mtime of the referred-to file. Unfortunately there is no Java API to set the mtime of the link itself:

https://stackoverflow.com/questions/17308363/symlink-lastmodifiedtime-in-java-1-7

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
set.type

Members list

Value members

Concrete methods

def apply(p: Path, millis: Long): Path