mtime

object mtime extends Path => Long

Gets the mtime of the given file or directory

trait Path => Long
class Object
trait Matchable
class Any
mtime.type

Type members

Classlikes

object set

Sets the mtime of the given file.

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

Value members

Concrete methods

def apply(p: Path): Long
def apply(p: Path, followLinks: Boolean): Long

Inherited methods

@unspecialized
def andThen[A](g: Long => A): Path => A
Inherited from:
Function1
@unspecialized
def compose[A](g: A => Path): A => Long
Inherited from:
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1