0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 11:24:50 +01:00
gitea/models
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-09-22 13:38:34 +08:00
..
db refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
fixtures
migrations refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
access.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
access_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
action.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
action_list.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
action_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
admin.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
admin_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
attachment.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
attachment_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
avatar.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
avatar_test.go
branches.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
branches_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
commit.go
commit_status.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
commit_status_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
consistency.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
consistency_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
engine_test.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
error.go
error_oauth2.go
external_login_user.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
fixture_generation.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
fixture_test.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
gpg_key.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
gpg_key_add.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
gpg_key_commit_verification.go
gpg_key_common.go
gpg_key_import.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
gpg_key_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
gpg_key_verify.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
helper.go
helper_directory.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
helper_environment.go
issue.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_assignees.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_assignees_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_comment.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_comment_list.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_comment_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_dependency.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_dependency_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_label.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_label_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_list.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_list_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_lock.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_milestone.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_milestone_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_reaction.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_reaction_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_stopwatch.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_stopwatch_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_tracked_time.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_tracked_time_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_user.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_user_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_watch.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_watch_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_xref.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_xref_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
lfs.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
lfs_lock.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
list_options.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
list_options_test.go
login_source.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
login_source_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
main_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
migrate.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
notification.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
notification_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
oauth2.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
oauth2_application.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
oauth2_application_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
org.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
org_team.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
org_team_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
org_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
project.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
project_board.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
project_issue.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
project_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
protected_tag.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
protected_tag_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
pull.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
pull_list.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
pull_sign.go
pull_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
release.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
repo_activity.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_archiver.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_avatar.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_branch.go
repo_collaboration.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_collaboration_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_generate.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_generate_test.go
repo_indexer.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_issue.go
repo_language_stats.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_list.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_list_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_mirror.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_permission.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_permission_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_pushmirror.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_pushmirror_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_redirect.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_redirect_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_sign.go
repo_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_transfer.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_transfer_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_unit.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_watch.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_watch_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
review.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
review_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
session.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key_authorized_keys.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key_authorized_principals.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key_deploy.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key_fingerprint.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key_parse.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
ssh_key_principals.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key_test.go
star.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
star_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
statistic.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
task.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
token.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
token_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
topic.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
topic_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
twofactor.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
u2f.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
u2f_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
unit.go
update.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
upload.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_avatar.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_follow.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_follow_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_heatmap.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_heatmap_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_mail.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_mail_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_openid.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_openid_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_redirect.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_redirect_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
userlist.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
userlist_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
webhook.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
webhook_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
wiki.go
wiki_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00