truncate

os.truncate
object truncate

Truncate the given file to the given size. If the file is smaller than the given size, does nothing.

Attributes

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

Members list

Value members

Concrete methods

def apply(p: Path, size: Long): Unit