filebrowser/cmd
Henrique Dias 4bc6a23143 fix: no db error when db size is 0 (#629)
Fixes the error where File Browser would fail when the DB existed with size 0. This closes #628.

@1138-4EB I decided not to check the version for now since it's the first time we're adding that info. Only the next time we change the DB structure we'll use that value as reference to know how to upgrade.

I did not check it because the users running rc1 would have some issues with it.

Former-commit-id: e8b07ab919e9c24feee8f6f2dd6df30df1e2325f [formerly 3396f05b4a1a07e1b993b7c07d1afd2def9cabbb] [formerly b43eb8e400603f99baf7966a58156dec7bd47420 [formerly c1c57c6525]]
Former-commit-id: 1115d0cf8a601feafac2b33cb46b813343f4fa8c [formerly 05de6caf8cf747a95fbb10587f0a767dfb8b8774]
Former-commit-id: 840c1a278cd45d36ce8538b7c5fe97923be05ca3
2019-01-09 21:37:47 +00:00
..
cmd.go feat: v2 (#599) 2019-01-05 22:44:33 +00:00
cmds.go enable version subcmd and --version flag for root cmd and all subcmds 2019-01-08 16:20:23 +01:00
cmds_add.go feat: wrap commands to send info (#612) 2019-01-07 20:24:23 +00:00
cmds_ls.go fix: use server options from DB too (#616) 2019-01-08 14:07:55 +00:00
cmds_rm.go feat: add docs info 2019-01-08 16:37:02 +00:00
config.go enable version subcmd and --version flag for root cmd and all subcmds 2019-01-08 16:20:23 +01:00
config_cat.go fix: use server options from DB too (#616) 2019-01-08 14:07:55 +00:00
config_export.go feat: add docs info 2019-01-08 16:37:02 +00:00
config_import.go feat: add docs info 2019-01-08 16:37:02 +00:00
config_init.go feat: add docs info 2019-01-08 16:37:02 +00:00
config_set.go feat: add docs info 2019-01-08 16:37:02 +00:00
docs.go feat: add docs info 2019-01-08 16:37:02 +00:00
hash.go enable version subcmd and --version flag for root cmd and all subcmds 2019-01-08 16:20:23 +01:00
root.go style: rename functions in root.go (#623) 2019-01-08 21:10:27 +01:00
rule_rm.go feat: add docs info 2019-01-08 16:37:02 +00:00
rules.go chore: style and gofmt (#622) 2019-01-08 19:40:14 +01:00
rules_add.go fix: use server options from DB too (#616) 2019-01-08 14:07:55 +00:00
rules_ls.go feat: wrap commands to send info (#612) 2019-01-07 20:24:23 +00:00
upgrade.go style: rename functions in root.go (#623) 2019-01-08 21:10:27 +01:00
users.go enable version subcmd and --version flag for root cmd and all subcmds 2019-01-08 16:20:23 +01:00
users_add.go fix: use server options from DB too (#616) 2019-01-08 14:07:55 +00:00
users_export.go feat: add docs info 2019-01-08 16:37:02 +00:00
users_find.go feat: wrap commands to send info (#612) 2019-01-07 20:24:23 +00:00
users_import.go feat: add docs info 2019-01-08 16:37:02 +00:00
users_rm.go feat: wrap commands to send info (#612) 2019-01-07 20:24:23 +00:00
users_update.go chore: style and gofmt (#622) 2019-01-08 19:40:14 +01:00
utils.go fix: no db error when db size is 0 (#629) 2019-01-09 21:37:47 +00:00
version.go enable version subcmd and --version flag for root cmd and all subcmds 2019-01-08 16:20:23 +01:00