mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-04-21 15:26:42 +02:00
modules/git/repo_index.go aktualisiert
This commit is contained in:
parent
af19bf6c5b
commit
7b70743fcd
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue