lockfile: remove unused new method
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: If64632acaf9805b68a662e25aebe60216a6a6964
This commit is contained in:
parent
5a7762ac13
commit
e783178493
1 changed files with 0 additions and 14 deletions
|
|
@ -579,20 +579,6 @@ pub struct LockFile {
|
|||
}
|
||||
|
||||
impl LockFile {
|
||||
pub fn new(
|
||||
target: Option<Target>,
|
||||
mc_versions: Vec<String>,
|
||||
loaders: HashMap<String, String>,
|
||||
) -> Self {
|
||||
Self {
|
||||
target,
|
||||
mc_versions,
|
||||
loaders,
|
||||
projects: Vec::new(),
|
||||
lockfile_version: LOCKFILE_VERSION,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_project(&self, pakku_id: &str) -> Option<&Project> {
|
||||
self
|
||||
.projects
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue