lockfile: remove unused new method

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: If64632acaf9805b68a662e25aebe60216a6a6964
This commit is contained in:
raf 2026-02-21 19:55:36 +03:00
commit e783178493
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -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