Commit graph

8 commits

Author SHA1 Message Date
Till Wegmueller
b8c625a11e
Refactor attribute value access and error handling
- Replaced `values.get(0)` with `values.first()` for improved clarity and consistency across multiple files.
- Simplified conditional checks with `.is_empty()` and `format_args!` to enhance readability.
- Implemented `Default` trait for `VariableMode` directly within the enum.
- Updated error handling by boxing errors in `RepositoryError` and `CatalogError`.
- Replaced redundant `else` blocks with streamlined logic.
2026-01-18 13:00:21 +01:00
Till Wegmueller
d2d1c297cc
Refactor to align with Rust formatting guidelines and enhance code readability.
- Adjusted indentation and line breaks for structs, functions, and method calls to comply with Rust formatting standards.
- Improved error message formatting and consistency across `PkgTreeError` instances.
- Restructured long function arguments and chained calls for clarity and maintainability.
- Simplified conditional statements and loops for better readability.
- No functional changes introduced.
2025-12-22 20:10:17 +01:00
Till Wegmueller
1a66c34f1c
fix clippy
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 17:33:40 +01:00
Till Wegmueller
2fd593ff41 Cleanup repo 2022-09-01 19:23:09 -03:00
Till Wegmueller
bf9d0289a7 Add recursive Parsing of makefiles 2022-03-28 20:27:15 -03:00
Till Wegmueller
09635558ae Switch to rustls for embedded tls
Refine Makefile parsing so we also parse define rules
Implement Recursive Vraiable resolving Algorithm
2022-03-28 15:07:05 -03:00
Till Wegmueller
3481814af2 Switch to anyhow and thiserror
Update clap to version 3
Make golang file parseable by removing line breaks
2022-03-24 19:48:41 -03:00
Till Wegmueller
37d7d8ee08 Add userland library for things related to oi userland 2021-04-25 18:40:06 -03:00