refactor spaghetti code #4

Merged
squel merged 7 commits from squel/refactor into main 2024-11-10 20:51:40 +00:00 AGit
Owner
No description provided.
- use check_file_data() for file format checks and
offset.
- partly clean STDOUT by either commenting or
spamming `if debug_enabled {}` :P

check_file_data() is previously known as
check_hex_data()
squel changed title from refactor: remove duplicate function (but with difference argument type) to refactor spaghetti code 2024-11-05 01:07:25 +00:00
seperate the return values of the decode_section()
function, so it can be formatted by the function
that calls it (currently main(), to change)

check the filename hash and return a special error
type. if returned, ignore this specific error:
decode the next section
`<hash>  <path>`, note double space
Instead of checking for bit flips from the cosmic, check for what the
manifest is telling us to check for.
squel merged commit 19077aec6c into main 2024-11-10 20:51:40 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
squel/steam-manifest!4
No description provided.