stash/pkg/utils
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
..
boolean.go Add rescan option to overflow dropdown (#1119) 2021-02-23 12:56:01 +11:00
byterange.go Remove unused (#1709) 2021-09-09 14:10:08 +10:00
context.go Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
crypto.go Images section (#813) 2020-10-13 10:12:46 +11:00
date.go Fix json time when unmarshalling 2019-03-09 10:14:55 -08:00
file.go Error strings noncapitalized (#1704) 2021-09-08 11:23:10 +10:00
file_test.go fix DirExists (#1388) 2021-05-17 15:05:29 +10:00
float.go Configuration 2019-04-11 10:55:58 -07:00
image.go Add User Agent to image download reqs (#1222) 2021-03-24 08:12:11 +11:00
int_collections.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
oshash.go utils: oshash: add tests (#1285) 2021-05-25 11:32:59 +10:00
oshash_internal_test.go Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
phash.go Add various filter criteria (#1505) 2021-06-23 09:10:20 +10:00
resources.go Change thumbnail default size and resize algorithm (#336) 2020-01-31 17:19:15 -05:00
string_collections.go Discard null values from scraper results (#1374) 2021-05-16 16:40:54 +10:00
strings.go Handle case sensitive file moves (#1427) 2021-06-11 15:25:09 +10:00
symwalk.go Fix scan issue when encountering invalid symlinks (#871) 2020-10-20 17:00:23 +11:00
time.go Fix various generate issues (#1322) 2021-04-22 13:51:51 +10:00
user_agent.go Add User Agent to image download reqs (#1222) 2021-03-24 08:12:11 +11:00
vtt.go utils: vtt: test + rewrite (#1284) 2021-05-25 11:25:26 +10:00
vtt_test.go utils: vtt: test + rewrite (#1284) 2021-05-25 11:25:26 +10:00
windows.go Reorg 2019-02-14 15:42:52 -08:00