HH\Lib\File\WriteHandle::truncate

Facebook Engineer?

The containing class is available as File\WriteHandle in the www repository.

public function truncate(
  ?int $length = NULL,
): void;

Parameters

  • ?int $length = NULL

Returns

  • void