From f3d98b21d0b66952501aed5403df6773716f9e0b Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Sat, 29 Nov 2025 16:08:17 +0300 Subject: Connected some functions to main.rs. --- src/pkgtoolkit/pkgtools.rs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/pkgtoolkit/pkgtools.rs') diff --git a/src/pkgtoolkit/pkgtools.rs b/src/pkgtoolkit/pkgtools.rs index f44a283..5acbd11 100644 --- a/src/pkgtoolkit/pkgtools.rs +++ b/src/pkgtoolkit/pkgtools.rs @@ -250,16 +250,6 @@ impl Package { /// * Returns an error if INSTALL file is empty. /// // TODO: Add meta-files validation here. - /// Checks if the archive contains INSTALL, SETTS and BUILD files. - /// - /// Checks if INSTALL file exists and is not empty. If it does not exist or is empty, returns an error. - /// - /// Checks if SETTS and BUILD files exist and are not empty. If they do not exist or are empty, logs a warning. - /// # Errors - /// * Returns an error if INSTALL file does not exist or is empty. - /// * Returns an error if INSTALL file is empty. - /// - // TODO: Add meta-files validation here. pub fn check(path_to_archive: String) -> Result { // Call the new extraction function Self::extract_archive(&path_to_archive)?; -- cgit v1.2.3