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