forgejo/services/repository/files
Zettat123 4de5cd9f36
Return empty url for submodule tree entries (#23043)
Close #22614.

Refer to [Github's
API](https://docs.github.com/en/rest/git/trees?apiVersion=2022-11-28#get-a-tree),
if a tree entry is a submodule, its url will be an empty string.

---------

Co-authored-by: delvh <leon@kske.dev>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2023-02-21 12:31:17 -05:00
..
cherry_pick.go
commit.go
content.go
content_test.go
delete.go
diff.go
diff_test.go
file.go
file_test.go
patch.go
temp_repo.go
tree.go
tree_test.go
update.go
upload.go