- Queries
- All Atoms
- Search
- Advanced Search
Diviner All Atoms
All Atoms
All Atoms
- Read the output stream of an @{class:ExecFuture} one line at a time. This abstraction allows you to process large inputs without holding them in memory. If you know your inputs fit in memory, it is generally more efficient (and certainly simpler) to read the entire input and `explode()` it. For more information, see @{class:LinesOfALarge}. See also @{class:LinesOfALargeFile} for a similar abstraction that works on files.
- Class
- Read more data from the subprocess.
- Method
- The PHP `foreach()` construct calls rewind() once, so we allow the first `rewind()`, without effect. Subsequent rewinds mean misuse.
- Method
- On destruction, we terminate the subprocess if it hasn't exited already.
- Method
- To construct, pass an @{class:ExecFuture}.
- Method
- Abstraction for processing large inputs without holding them in memory. This class implements line-oriented, buffered reads of some external stream, where a "line" is characterized by some delimiter character. This provides a straightforward interface for most large-input tasks, with relatively good performance.
- Class
- Method
- Method
- Method
- Method
- Method
- Called when the iterator needs more data. The subclass should return more data, or empty string to indicate end-of-stream.
- Method
- Hook, called before @{method:rewind()}. Allows a concrete implementation to open resources or reset state.
- Method
- Change the "line" delimiter character, which defaults to "\n". This is used to determine where each line ends.
- Method
- Read the lines of a file, one at a time. This allows you to process large files without holding them in memory. In most cases, it is more efficient (and certainly simpler) to read the entire file and `explode()` it. For more information, see @{class:LinesOfALarge}. See also @{class:LinesOfALargeExecFuture}, for a similar abstraction that works on executed commands.
- Class
- Read the file chunk-by-chunk.
- Method
- Closes the file handle if it is open, and reopens it.
- Method
- Close the file handle, if it is open.
- Method
- Closes the file handle.
- Method
- To construct, pass the path to a file.
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Exception thrown by Filesystem to indicate an error accessing the file system.
- Class
- Retrieve the path associated with the exception. Generally, this is something like a path that couldn't be read or written, or a path that was expected to exist but didn't.
- Method
- Create a new FilesystemException, providing a path and a message.
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- The `hg annotate` command did not accept the `--template` argument until version 4.6. It appears to function in version 4.5 however it's not documented and wasn't announced until the 4.6 release.
- Method
- When using `--template` the format for accessing individual parents changed from `{p1node}` to `{p1.node}` in Mercurial 4.9.
- Method
- The `locate` command is deprecated as of Mercurial 3.2, to be replaced with `files` command, which supports most of the same arguments. This determines whether the new `files` command should be used instead of the `locate` command.
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0