diff options
author | Unknwon <u@gogs.io> | 2017-04-04 19:29:59 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-04-04 19:29:59 -0400 |
commit | d05395fe906dad7741201faa69a54fef538deda9 (patch) | |
tree | 11dae6c5c9b40b8ce85c7294bd0309c03cb1199e /cmd/restore.go | |
parent | 37b10666dea98cebf75d0c6f11ee87211ef94703 (diff) |
Refactoring: rename modules -> pkg
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
Diffstat (limited to 'cmd/restore.go')
-rw-r--r-- | cmd/restore.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/restore.go b/cmd/restore.go index 4b9cbed2..36e49fa2 100644 --- a/cmd/restore.go +++ b/cmd/restore.go @@ -16,7 +16,7 @@ import ( "gopkg.in/ini.v1" "github.com/gogits/gogs/models" - "github.com/gogits/gogs/modules/setting" + "github.com/gogits/gogs/pkg/setting" ) var Restore = cli.Command{ @@ -24,9 +24,9 @@ var Restore = cli.Command{ Usage: "Restore files and database from backup", Description: `Restore imports all related files and database from a backup archive. The backup version must lower or equal to current Gogs version. You can also import -backup from other database engines, which is useful for database migrating. +backup from other database engines, which is useful for database migrating. -If corresponding files or database tables are not presented in the archive, they will +If corresponding files or database tables are not presented in the archive, they will be skipped and remian unchanged.`, Action: runRestore, Flags: []cli.Flag{ |