Commit Graph
20 Commits
Author SHA1 Message Date
kevin zhao 842d6adb59 refactor to test positive matches 2025-11-13 22:07:44 -05:00
kevin zhao a4cd582b49 removing decription() 2025-11-13 22:07:43 -05:00
kevin zhao ad55ca629c refactor: using deep assertions instead of expect tests; removed Display impls 2025-11-13 22:07:43 -05:00
kevin zhao 8a98b7afd3 reordering so that impl comes before def 2025-11-13 22:07:43 -05:00
kevin zhao 7b5916cb4b Share prefix pattern data in execpolicy2 instead of cloning 2025-11-13 22:07:43 -05:00
kevin zhao 0f51ed0baa removing len() and is_empty() 2025-11-13 22:07:43 -05:00
kevin zhao b751be9156 cleanup and prettify 2025-11-13 22:07:43 -05:00
kevin zhao 66dca34c1c using camelCase 2025-11-13 22:07:42 -05:00
kevin zhao 7681b325fe basic.rs: using expect tests 2025-11-13 22:07:41 -05:00
kevin zhao 755331425e refactor: implementing rule traits, rulematch enum 2025-11-13 22:07:41 -05:00
kevin zhao 4ca1834eac update docstring 2025-11-13 22:07:41 -05:00
kevin zhao 8b4283e4ad improve phrasing 2025-11-13 22:07:41 -05:00
kevin zhao 58acf0b833 adding docstrings for PrefixPattern and PatternToken 2025-11-13 22:07:40 -05:00
kevin zhao 8775a99e3d fallback instead of panicking 2025-11-13 22:07:40 -05:00
kevin zhao 00ff42d594 using shlex::try_join instead of " ".join() 2025-11-13 22:07:40 -05:00
kevin zhao 687a8c38ff introduce variant typing to policy result 2025-11-13 22:07:38 -05:00
kevin zhao 64e786caad simplify 2025-11-13 22:07:37 -05:00
kevin zhao 7e79c4dc5b refactor rules so no more cartesian product 2025-11-13 22:07:37 -05:00
kevin zhao 71ea7edca4 update shape of RuleMatch and Evaluation 2025-11-13 22:07:37 -05:00
kevin zhao 773177ec8b first pass at prefix rules 2025-11-13 22:07:37 -05:00