truncate

object truncate

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

class Object
trait Matchable
class Any

Value members

Concrete methods

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