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