mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-24 22:16:27 -04:00
Refactor repo contents API and add "contents-ext" API (#34822)
See the updated swagger document for details.
This commit is contained in:
@@ -18,7 +18,7 @@ type TreeEntry struct {
|
||||
sized bool
|
||||
}
|
||||
|
||||
// Name returns the name of the entry
|
||||
// Name returns the name of the entry (base name)
|
||||
func (te *TreeEntry) Name() string {
|
||||
return te.name
|
||||
}
|
||||
|
Reference in New Issue
Block a user