stash/pkg
SmallCoccinelle 4b00d24248
Remove unused (#1709)
* Remove stuff which isn't being used

Some fields, functions and structs aren't in use by the project. Remove
them for janitorial reasons.

* Remove more unused code

All of these functions are currently not in use. Clean up the code by
removal, since the version control has the code if need be.

* Remove unused functions

There's a large set of unused functions and variables in the code base.
Remove these, so it clearer what code to support going forward.

Dead code has been eliminated.

Where applicable, comment const-sections in tests, so reserved
identifiers are still known.

* Fix use-def of tsURL

The first def of tsURL doesn't matter because there's no use before
we hit the 2nd def.

* Remove dead code assignment

Setting logFile = "" is effectively dead code, because there's no use
of it later.

* Comment out found

The variable 'found' is dead in the function (because no post-process
action is following it). Comment it for now.

* Comment dead code in tests

These might provide hints as to what isn't covered at the moment.

* Dead code removal

In the case of constants where iota is involved, move the iota so it
matches the current key values.

This avoids problems with persistently stored key IDs.
2021-09-09 14:10:08 +10:00
..
api Remove unused (#1709) 2021-09-09 14:10:08 +10:00
autotag Apple Silicon Support, Bump Go to 1.17, refactor docker/build/x86_64/Dockerfile (#1646) 2021-09-08 15:30:15 +10:00
database Error strings noncapitalized (#1704) 2021-09-08 11:23:10 +10:00
dlna Remove unused (#1709) 2021-09-09 14:10:08 +10:00
ffmpeg Remove unused (#1709) 2021-09-09 14:10:08 +10:00
gallery Remove unused (#1709) 2021-09-09 14:10:08 +10:00
image Remove unused (#1709) 2021-09-09 14:10:08 +10:00
job Fix data race in progress_test (#1696) 2021-09-07 13:30:26 +10:00
logger Remove unused (#1709) 2021-09-09 14:10:08 +10:00
manager Remove unused (#1709) 2021-09-09 14:10:08 +10:00
models Unify scrape refactor (#1630) 2021-09-07 11:54:22 +10:00
movie Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
performer Added rating to performers and studios (#1308) 2021-04-26 13:48:32 +10:00
plugin Apple Silicon Support, Bump Go to 1.17, refactor docker/build/x86_64/Dockerfile (#1646) 2021-09-08 15:30:15 +10:00
scene Remove unused (#1709) 2021-09-09 14:10:08 +10:00
scraper Remove unused (#1709) 2021-09-09 14:10:08 +10:00
session Remove unused (#1709) 2021-09-09 14:10:08 +10:00
sqlite Remove unused (#1709) 2021-09-09 14:10:08 +10:00
studio Added rating to performers and studios (#1308) 2021-04-26 13:48:32 +10:00
tag Tag aliases (#1412) 2021-05-26 14:36:05 +10:00
utils Remove unused (#1709) 2021-09-09 14:10:08 +10:00