(integration: (String, String), artifacts: ModuleArtifacts)
| 155 | pub const CURRENT_VERSION: u64 = 1; |
| 156 | |
| 157 | pub fn new(integration: (String, String), artifacts: ModuleArtifacts) -> Self { |
| 158 | Self { |
| 159 | version: Self::CURRENT_VERSION, |
| 160 | integration, |
| 161 | artifacts, |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | pub fn from_reader<R: std::io::Read>(reader: R) -> anyhow::Result<Self> { |
| 166 | serde_json::from_reader(reader).context("Could not parse memtrack metadata from JSON") |
nothing calls this directly
no outgoing calls
no test coverage detected