(entry: &VaultEntry)
| 737 | } |
| 738 | |
| 739 | fn is_eligible_memory(entry: &VaultEntry) -> bool { |
| 740 | if entry.entry_type != VaultEntryType::Memory { |
| 741 | return false; |
| 742 | } |
| 743 | let kind = frontmatter_kind(&entry.frontmatter_json); |
| 744 | if EXCLUDED_MEMORY_TYPES.contains(&kind.as_str()) { |
| 745 | return false; |
| 746 | } |
| 747 | frontmatter_status(&entry.frontmatter_json) |
| 748 | .is_some_and(|status| status.eq_ignore_ascii_case("active")) |
| 749 | } |
| 750 | |
| 751 | // Budget |
| 752 |
no test coverage detected