- Queries
- All Atoms
- Search
- Advanced Search
Diviner All Atoms
All Atoms
All Atoms
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Determine whether or not a path exists in the filesystem. This differs from file_exists() in that it returns true for symlinks. This method does not attempt to resolve paths before testing them.
- Method
- Test whether a path is descendant from some root path after resolving all symlinks and removing artifacts. Both paths must exists for the relation to obtain. A path is always a descendant of itself as long as it exists.
- Method
- Identify the MIME type of a file. This returns only the MIME type (like text/plain), not the encoding (like charset=utf-8).
- Method
- Channel to a Mercurial "cmdserver" client. For a detailed description of the "cmdserver" protocol, see @{class:ArcanistHgServerChannel}. This channel implements the other half of the protocol: it decodes messages from the client and encodes messages from the server.
- Class
- Server which @{class:ArcanistHgProxyClient} clients connect to. This server binds to a Mercurial working copy and creates a Mercurial process and a unix domain socket in that working copy. It listens for connections on the socket, reads commands from them, and forwards their requests to the Mercurial process. It then returns responses to the original clients.
- Class
- Method
- Method
- Starts a Mercurial process which can actually handle requests.
- Method
- Method
- Method
- Method
- Update one client, processing any commands it has sent us. We fully process all commands we've received here before returning to the main server loop.
- Method
- Start the server. This method returns after the client limit or idle limit are exceeded. If neither limit is configured, this method does not exit.
- Method
- Configure whether the server runs in the foreground or daemonizes. Controlled by --do-not-daemonize. Primarily useful for debugging.
- Method
- When clients connect, do not send the "capabilities" message expected by the Mercurial protocol. This deviates from the protocol and will only work if the clients are also configured not to expect the message, but slightly improves performance. Controlled with --skip-hello.
- Method
- Configure an idle time limit. After this many seconds idle, the server will exit. Controlled with `--idle-limit`.
- Method
- Configure a client limit. After serving this many clients, the server will exit. Controlled with `--client-limit`.
- Method
- Channel to a Mercurial "cmdserver" server. Messages sent to the server look like this:
- Class
- Client for an @{class:ArcanistHgProxyServer}. This client talks to a PHP process which serves as a proxy in front of a Mercurial server process. The PHP proxy allows multiple clients to use the same Mercurial server.
- Class
- Method
- Method
- Execute a command (given as a list of arguments) via the command server.
- Method
- When connecting, do not expect the "capabilities" message.
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Class
- Method
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method