mtime

os.mtime
object mtime extends Path => Long

Gets the mtime of the given file or directory

Attributes

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

Members list

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

Attributes

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

Value members

Concrete methods

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

Inherited methods

def andThen[A](g: Long => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => Path): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1