mirror of https://github.com/go-gitea/gitea.git
Before: the concept "Content string" is used everywhere. It has some problems: 1. Sometimes it means "base64 encoded content", sometimes it means "raw binary content" 2. It doesn't work with large files, eg: uploading a 1G LFS file would make Gitea process OOM This PR does the refactoring: use "ContentReader" / "ContentBase64" instead of "Content" This PR is not breaking because the key in API JSON is still "content": `` ContentBase64 string `json:"content"` `` |
2 years ago | |
---|---|---|
.. | ||
activity.go | 2 years ago | |
activitypub.go | 2 years ago | |
admin_user.go | 2 years ago | |
attachment.go | 2 years ago | |
commit_status.go | 2 years ago | |
cron.go | 2 years ago | |
doc.go | 2 years ago | |
fork.go | 2 years ago | |
git_blob.go | 2 years ago | |
git_hook.go | 2 years ago | |
hook.go | 2 years ago | |
issue.go | 2 years ago | |
issue_comment.go | 2 years ago | |
issue_label.go | 2 years ago | |
issue_milestone.go | 2 years ago | |
issue_reaction.go | 2 years ago | |
issue_stopwatch.go | 2 years ago | |
issue_test.go | 2 years ago | |
issue_tracked_time.go | 2 years ago | |
lfs_lock.go | 2 years ago | |
mirror.go | 2 years ago | |
miscellaneous.go | 2 years ago | |
nodeinfo.go | 2 years ago | |
notifications.go | 2 years ago | |
org.go | 2 years ago | |
org_member.go | 2 years ago | |
org_team.go | 2 years ago | |
package.go | 2 years ago | |
pull.go | 2 years ago | |
pull_review.go | 2 years ago | |
release.go | 2 years ago | |
repo.go | 2 years ago | |
repo_branch.go | 2 years ago | |
repo_collaborator.go | 2 years ago | |
repo_commit.go | 2 years ago | |
repo_file.go | 2 years ago | |
repo_key.go | 2 years ago | |
repo_note.go | 2 years ago | |
repo_refs.go | 2 years ago | |
repo_tag.go | 2 years ago | |
repo_topic.go | 2 years ago | |
repo_tree.go | 2 years ago | |
repo_watch.go | 2 years ago | |
repo_wiki.go | 2 years ago | |
settings.go | 2 years ago | |
status.go | 2 years ago | |
task.go | 2 years ago | |
user.go | 2 years ago | |
user_app.go | 2 years ago | |
user_email.go | 2 years ago | |
user_gpgkey.go | 2 years ago | |
user_key.go | 2 years ago | |
visible_type.go | 2 years ago |