worktrunk
worktrunk copied to clipboard
Rename get_* functions to bare nouns per CLAUDE.md naming conventions
Summary
Several public functions use the get_* prefix, which CLAUDE.md explicitly discourages in favor of bare nouns (Rust convention).
Locations
src/config/user/path.rs:34—get_config_path()→ should beconfig_path()src/config/user/path.rs:76—get_system_config_path()→ should besystem_config_path()src/git/repository/config.rs:12—get_config()→ should beconfig_value()or similarsrc/utils.rs—get_now()→ should benow()orepoch_now()
Context
These are public APIs used throughout the codebase, so renaming is a larger refactor. The CLAUDE.md accessor naming conventions state: "Don't use get_* prefix — use bare nouns instead (Rust convention)."
Since this is a CLI tool with no library consumers, a rename is safe (no external compatibility concern).
rename all please
Done — #1586 renames all get_* functions to bare nouns across the codebase (25+ functions, 58 files). All tests pass.