syncthing/cmd
André Colomb 668979605b
cmd/stindex: Add missing KeyType values in stindex dump code (#6659)
* cmd/stindex: Unify access to key from cached variable.

Avoid calling the Key() method from the iterator each time the value
is needed.  Just reuse the cache variable already assigned before the
switch block.

* cmd/stindex: Display the prefix byte value for unknown key types.

Make it easier to diagnose corrupt / unknown key type entries by
showing their decimal value, correlating with the definitions in
keyer.go.

* cmd/stindex: Add missing KeyType values in stindex dump code.

Recently added DB key prefixes KeyTypeBlockListMap and KeyTypeVersion
were unknown to the stindex dumping tool.  Add basic parsing to dump
their key structure.
2020-05-17 11:06:14 +02:00
..
stcli all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00
stcompdirs all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00
stcrashreceiver cmd/stcrashreceiver: Enable (rough) affected users count (#6511) 2020-04-07 13:19:49 +02:00
stdisco all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stdiscosrv build, lib/build: Build faster (#6538) 2020-04-16 10:09:33 +02:00
stevents all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stfileinfo all: Implement variable sized blocks (fixes #4807) 2018-04-16 19:08:50 +01:00
stfinddevice lib: Faster termination on exit (ref #6319) (#6329) 2020-02-13 14:43:00 +01:00
stfindignored cmd/stfindignored: Default to current directory 2018-06-06 22:24:36 +02:00
stgenfiles all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
stindex cmd/stindex: Add missing KeyType values in stindex dump code (#6659) 2020-05-17 11:06:14 +02:00
strelaypoolsrv cmd/strelaypoolsrv, lib/api: Factor out static asset serving (#6624) 2020-05-10 11:44:34 +02:00
strelaysrv build, lib/build: Build faster (#6538) 2020-04-16 10:09:33 +02:00
stsigtool cmd/stsigtool: Silence spurious Go 1.10 test/vet complaint 2017-12-10 19:42:17 +01:00
stupgrades cmd/stupgrades: Generate appropriate upgrade data (fixes #5924) (#5960) 2019-08-16 10:04:10 +02:00
stvanity all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00
stwatchfile all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
syncthing cmd/syncthing: Don't crash when failing to create default config (fixes #6655) (#6658) 2020-05-17 07:56:24 +02:00
uraggregate cmd/ur*: Updates for 1.0 2019-01-03 21:46:02 +01:00
ursrv cmd/ursrv: Filter out ancient versions from chart 2020-04-16 09:13:01 +02:00
.gitignore Remove reprecated st* utils 2014-07-01 12:20:25 +02:00