fusedav
fusedav copied to clipboard
An impossibly large refactor
Includes the build-docker-images branch.
The commits are all distinct and understandable except the last one which is:
- introducing typedefs for sdata and pdata to shrink boilerplate
- consistently using the
const funcname
pattern for log messages instead of pasting the name as a string literal everywhere - refactoring
filecache_sync
to favor early returns overelse
andgoto
- refactoring
get_fresh_fd
to
- dispatch separate http outcomes to distinct handler functions
- use newly created reusable
_filecache_truncate
helper, factored out offilecache_truncate
- offload cache freshness determination to a helper function
- similarly favor early return over
else
andgoto
- fit on a screen
f28-1505-devel-501 https://circleci.com/workflow-run/ec3dd06d-639f-4e46-90b8-44cd655201c0
f28-1509-devel-501 https://circleci.com/workflow-run/f7359548-52dd-4a4c-adb5-fadfb9eac8d9