filebrowser/cmd
Henrique Dias c1c57c6525
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.
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