(entry: &VaultEntry)
| 721 | } |
| 722 | |
| 723 | fn is_eligible_memory(entry: &VaultEntry) -> bool { |
| 724 | if entry.entry_type != VaultEntryType::Memory { |
| 725 | return false; |
| 726 | } |
| 727 | let kind = frontmatter_kind(&entry.frontmatter_json); |
| 728 | if EXCLUDED_MEMORY_TYPES.contains(&kind.as_str()) { |
| 729 | return false; |
| 730 | } |
| 731 | frontmatter_status(&entry.frontmatter_json) |
| 732 | .is_some_and(|status| status.eq_ignore_ascii_case("active")) |
| 733 | } |
| 734 | |
| 735 | // Budget |
| 736 |
no test coverage detected