From 4db49fe5d846f45443c9ac0b5301cf3d58758926 Mon Sep 17 00:00:00 2001 From: delvh Date: Wed, 17 Jan 2024 23:28:59 +0100 Subject: [PATCH] Thanks type system for catching this copy paste error --- modules/git/tree_entry_gogit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/git/tree_entry_gogit.go b/modules/git/tree_entry_gogit.go index a74ebb38bd..02b68a3713 100644 --- a/modules/git/tree_entry_gogit.go +++ b/modules/git/tree_entry_gogit.go @@ -55,7 +55,7 @@ func (te *TreeEntry) Size() int64 { return te.size } -func (te *TreeEntry) FullPath() bool { +func (te *TreeEntry) FullPath() string { return te.Name() }