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