(path: PathBuf)
| 13 | // PyO3 handles the conversion from Rust's `std::path::PathBuf` to Python's `pathlib.Path`. |
| 14 | #[new] |
| 15 | fn new(path: PathBuf) -> Result<Self, crate::types::Error> { |
| 16 | let inner = alpm_types::RelativeFilePath::new(path)?; |
| 17 | Ok(inner.into()) |
| 18 | } |
| 19 | |
| 20 | fn __str__(&self) -> String { |
| 21 | self.0.to_string() |
nothing calls this directly
no outgoing calls
no test coverage detected