This commit is contained in:
Mars 2025-05-04 18:01:04 -04:00
parent 56154ad0b1
commit 8bd18187fc
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895

View file

@ -4,8 +4,13 @@
#include "src/core/package.hpp" #include "src/core/package.hpp"
#include "src/util/defs.hpp" #include "src/util/defs.hpp"
#include "src/util/error.hpp"
#include "src/util/types.hpp"
// clang-format on // clang-format on
using util::error::DracError, util::error::DracErrorCode;
using util::types::u64, util::types::String, util::types::Result;
namespace { namespace {
fn CountUniquePackages(const String& dbPath) -> Result<u64, DracError> { fn CountUniquePackages(const String& dbPath) -> Result<u64, DracError> {
std::ifstream dbFile(dbPath); std::ifstream dbFile(dbPath);