mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Remove the internal GitInfo type and make Page.GitInf() return a pointer
See #5693
This commit is contained in:
@@ -135,7 +135,7 @@ type GetPageProvider interface {
|
||||
// GitInfoProvider provides Git info.
|
||||
type GitInfoProvider interface {
|
||||
// GitInfo returns the Git info for this object.
|
||||
GitInfo() source.GitInfo
|
||||
GitInfo() *source.GitInfo
|
||||
// CodeOwners returns the code owners for this object.
|
||||
CodeOwners() []string
|
||||
}
|
||||
|
Reference in New Issue
Block a user