From 7b70743fcd28e6dda9a7bb39e470c1932dc33565 Mon Sep 17 00:00:00 2001 From: davrot Date: Sun, 9 Feb 2025 23:32:20 +0000 Subject: [PATCH] modules/git/repo_index.go aktualisiert --- modules/git/repo_index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/git/repo_index.go b/modules/git/repo_index.go index d7a3790698..375ef2a3a8 100644 --- a/modules/git/repo_index.go +++ b/modules/git/repo_index.go @@ -104,7 +104,7 @@ func (repo *Repository) LsFiles(filenames ...string) ([]string, error) { } // Gives a list of all files in a directory and below -func (repo *Repository) LsFilesFromDirectory(directory, branch string) ([]string, error) { +func (repo *Repository) LsFilesFromDirectory(directory string, branch string) ([]string, error) { if branch == "" { return nil, errors.New("branch not found in context URL") }