3 abstract class DiffusionRawDiffQuery
4 extends DiffusionFileFutureQuery
{
6 private $linesOfContext = 65535;
8 private $againstCommit;
10 final public static function newFromDiffusionRequest(
11 DiffusionRequest
$request) {
12 return parent
::newQueryObject(__CLASS__
, $request);
15 final public function setLinesOfContext($lines_of_context) {
16 $this->linesOfContext
= $lines_of_context;
20 final public function getLinesOfContext() {
21 return $this->linesOfContext
;
24 final public function setAgainstCommit($value) {
25 $this->againstCommit
= $value;
29 final public function getAgainstCommit() {
30 return $this->againstCommit
;
33 public function setAnchorCommit($anchor_commit) {
34 $this->anchorCommit
= $anchor_commit;
38 public function getAnchorCommit() {
39 if ($this->anchorCommit
) {
40 return $this->anchorCommit
;
43 return $this->getRequest()->getStableCommit();