HH\Lib\File\open_write_only_nd

Facebook Engineer?

This function is available as File\open_write_only_nd() in Facebook's www repository.

Deprecated: Use open_write_only() instead

namespace HH\Lib\File;

function open_write_only_nd(
  string $path,
  WriteMode $mode = WriteMode::OPEN_OR_CREATE,
  int $create_file_permissions = 420,
): CloseableWriteHandle;

Parameters

  • string $path
  • WriteMode $mode = WriteMode::OPEN_OR_CREATE
  • int $create_file_permissions = 420

Returns