Refactor "dump" sub-command (#30240)

Major changes:

* Move some functions like "addReader" / "isSubDir" /
"addRecursiveExclude" to a separate package, and add tests
* Clarify the filename&dump type logic and add tests
* Clarify the logger behavior and remove FIXME comments

Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
2024-04-03 10:16:46 +08:00
committed by GitHub
parent b28d3a4218
commit 654cfd1dfb
6 changed files with 374 additions and 229 deletions

File diff suppressed because it is too large Load Diff