delete with subpath: Forgot lint (as usual)

This commit is contained in:
David Rotermund 2025-04-25 03:25:22 +02:00
parent 240c167612
commit d91dfc803f
3 changed files with 57 additions and 64 deletions

View file

@ -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 string, branch string) ([]string, error) {
func (repo *Repository) LsFilesFromDirectory(directory, branch string) ([]string, error) {
if branch == "" {
return nil, errors.New("branch not found in context URL")
}