View definition

func GetRepositoryByID

Defined in github.com/gogits/gogs/models/repo.go

Description

GetRepositoryByID returns the repository by given id if exists.