Method: Gitlab::Git::Repository#initialize

Defined in:
lib/gitlab_git/repository.rb

#initialize(path) ⇒ Repository

‘path’ must be the path to a bare git repository, e.g. /path/to/my-repo.git



35
36
37
38
# File 'lib/gitlab_git/repository.rb', line 35

def initialize(path)
  @path = path
  @name = path.split("/").last
end