refactor(odin): port check command.

This commit is contained in:
2026-06-11 21:27:20 -04:00
parent f8add2ad22
commit d890c88b6d
8 changed files with 360 additions and 4 deletions

View File

@@ -47,3 +47,5 @@ Note: These todos can wait until all the subcommands have been ported.
## REFACTOR
20. **cmd_list.odin** — Non-TTY branch builds `ListEntry` structs and marshals JSON separately. Now that `render_json_rows` (issue 1) accepts an `io.Writer` and uses `json.marshal`, unify both branches to use it. Note: will change JSON keys from `"directory"/"path"` to `"Directory"/"Path"`.
21. Check for prealloc opportunities. i.e. `make([dynamic]string)` -> `make([dynamic]string, 5)`.