summaryrefslogtreecommitdiff
path: root/src/pkgtoolkit/pkgtools.rs
diff options
context:
space:
mode:
authorNamilskyy <alive6863@gmail.com>2025-11-29 16:08:17 +0300
committerNamilskyy <alive6863@gmail.com>2025-11-29 16:08:17 +0300
commitf3d98b21d0b66952501aed5403df6773716f9e0b (patch)
tree90eca38f0edbda3c7caa36d4175531bab0566469 /src/pkgtoolkit/pkgtools.rs
parent11ccd034109224849fff54c12785e454deba6741 (diff)
Connected some functions to main.rs.
Diffstat (limited to 'src/pkgtoolkit/pkgtools.rs')
-rw-r--r--src/pkgtoolkit/pkgtools.rs10
1 files changed, 0 insertions, 10 deletions
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<bool, std::io::Error> {
// Call the new extraction function
Self::extract_archive(&path_to_archive)?;