Creates a new LocalJarArtifact. path is the location of the jar file in the local storage
(path: &str)
| 51 | /// Creates a new LocalJarArtifact. |
| 52 | /// path is the location of the jar file in the local storage |
| 53 | pub fn new(path: &str) -> LocalJarArtifact { |
| 54 | LocalJarArtifact { |
| 55 | base: utils::jassets_path() |
| 56 | .unwrap_or_default() |
| 57 | .to_str() |
| 58 | .unwrap_or("") |
| 59 | .to_string(), |
| 60 | path: path.to_string(), |
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | impl JavaArtifact for LocalJarArtifact {} |
nothing calls this directly
no test coverage detected