2018-11-28 06:52:20 +09:00
|
|
|
// Copyright 2018 The Gitea Authors. All rights reserved.
|
2022-11-28 03:20:29 +09:00
|
|
|
// SPDX-License-Identifier: MIT
|
2018-11-28 06:52:20 +09:00
|
|
|
|
|
|
|
package git
|
|
|
|
|
|
|
|
// GetRefs returns all references of the repository.
|
|
|
|
func (repo *Repository) GetRefs() ([]*Reference, error) {
|
|
|
|
return repo.GetRefsFiltered("")
|
|
|
|
}
|