0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-13 21:41:16 +01:00
gitea/services/repository/files
wxiaoguang c08e42c47e
Refactor parseTreeEntries, speed up tree list (#21368)
Close #20315 (fix the panic when parsing invalid input), Speed up #20231 (use ls-tree without size field)

Introduce ListEntriesRecursiveFast (ls-tree without size) and ListEntriesRecursiveWithSize (ls-tree with size)
2022-10-08 01:20:53 +08:00
..
cherry_pick.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
commit.go Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
content.go Add latest commit's SHA to content response (#20398) 2022-07-30 16:09:04 +08:00
content_test.go Add latest commit's SHA to content response (#20398) 2022-07-30 16:09:04 +08:00
delete.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
diff.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
diff_test.go Calculate filename hash only once (#19654) 2022-05-09 00:29:50 +02:00
file.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
file_test.go Add latest commit's SHA to content response (#20398) 2022-07-30 16:09:04 +08:00
patch.go Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
temp_repo.go Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2022-06-16 23:47:44 +08:00
tree.go Refactor parseTreeEntries, speed up tree list (#21368) 2022-10-08 01:20:53 +08:00
tree_test.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
update.go Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
upload.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00