HH\watchman_query

Asynchronously run a one-shot Watchman query

namespace HH;

function watchman_query(
  mixed $json_query,
  ?string $socket_name = NULL,
): Awaitable<WatchmanResult>;

See the Watchman docs for details of queries and responses.

Parameters

  • mixed $json_query
  • ?string $socket_name = NULL

Returns