(srcinfo: &str)
| 16 | impl SourceInfoV1 { |
| 17 | #[new] |
| 18 | fn new(srcinfo: &str) -> Result<Self, crate::srcinfo::error::Error> { |
| 19 | let inner = alpm_srcinfo::SourceInfoV1::from_string(srcinfo)?; |
| 20 | Ok(inner.into()) |
| 21 | } |
| 22 | |
| 23 | #[staticmethod] |
| 24 | fn from_file(path: PathBuf) -> Result<Self, crate::srcinfo::error::Error> { |
nothing calls this directly
no outgoing calls
no test coverage detected