private function scanPathsForBlob(array $outputLines)
    {
        // no children, empty folder or blob!
        if (count($this->children) > 0) {
            return;
        }

        // root, no blob
        if ($this->isRoot()) {
            return;
        }

        if (1 === count($outputLines)) {
            $treeObject = NodeObject::createFromOutputLine($this->repository, $outputLines[0]);
            if ($treeObject->getSha() === $this->subject->getSha()) {
                $this->blob = $treeObject;
            }
        }
    }
private function scanPathsForBlob(array $outputLines)
    {
        // no children, empty folder or blob!
        if (count($this->children) > 0) {
            return;
        }

        // root, no blob
        if ($this->isRoot()) {
            return;
        }

        if (1 === count($outputLines)) {
            $treeObject = NodeObject::createFromOutputLine($this->repository, $outputLines[0]);
            if ($treeObject->getSha() === $this->subject->getSha()) {
                $this->blob = $treeObject;
            }
        }
    }
private function scanPathsForBlob ( array $ outputLines ) { // no children, empty folder or blob! if ( count ( $ this -> children ) > 0 ) { return ; } // root, no blob if ( $ this -> isRoot ( ) ) { return ; } if ( 1 === count ( $ outputLines ) ) { $ treeObject = NodeObject :: createFromOutputLine ( $ this -> repository , $ outputLines [ 0 ] ) ; if ( $ treeObject -> getSha ( ) === $ this -> subject -> getSha ( ) ) { $ this -> blob = $ treeObject ; } } }
check if the path is equals to a fullPath
to tell if it's a blob

@param array $outputLines output lines

@return mixed
check if the path is equals to a fullPath to tell if it s a blob