Gitamin\Models\Project::getRepository PHP Method

getRepository() public method

public getRepository ( )
    public function getRepository()
    {
        $path = config('gitamin.repositories_path') . DIRECTORY_SEPARATOR . $this->owner->slug . DIRECTORY_SEPARATOR . $this->slug;
        return app('git')->getRepository($path);
    }