HH\Lib\File\open_write_only_nd
Requires the Hack Standard Library - Experimental Additions to be installed.
Facebook Engineer?
This function is available as File\open_write_only_nd()
in Facebook's www repository.
namespace HH\Lib\File;
function open_write_only_nd(
string $path,
WriteMode $mode = WriteMode::OPEN_OR_CREATE,
): CloseableWriteHandle;
Parameters
string $path
WriteMode $mode = WriteMode::OPEN_OR_CREATE