Lines Matching +full:direction -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)
319 * @param int $direction give position of returned revision with respect to $rev;
325 public function getRelativeRevision($rev, $direction) argument
328 $direction = (int)$direction;
330 //no direction given or last rev, so no follow-up
331 if (!$direction || ($direction > 0 && $this->isCurrentRevision($rev))) {
350 if ($direction > 0) {
360 //look for revs older/earlier then reference $rev and select $direction-th one
361 … if (($direction > 0 && $info['date'] > $rev) || ($direction < 0 && $info['date'] < $rev)) {
363 if ($revCounter == abs($direction)) {
373 && (!($tail == $eof && $direction > 0) && !($head == 0 && $direction < 0));
376 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, $direction);