diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-01-27 15:50:42 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-01-28 19:47:00 +0100 |
| commit | e13ee75d4b20ee94e8da1b7f2be61788029b6875 (patch) | |
| tree | dce11bdc985010c51aa16998ee0145cedc325dcb /apt-pkg/metaindex.h | |
| parent | d9f7d2c37023d186be4a21a4d714e032be48e315 (diff) | |
metaindex: Support loading without filename
Diffstat (limited to 'apt-pkg/metaindex.h')
| -rw-r--r-- | apt-pkg/metaindex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/metaindex.h b/apt-pkg/metaindex.h index e2a773c31..198c3f34a 100644 --- a/apt-pkg/metaindex.h +++ b/apt-pkg/metaindex.h @@ -96,6 +96,7 @@ public: virtual std::vector<pkgIndexFile *> *GetIndexFiles() = 0; virtual bool IsTrusted() const = 0; virtual bool Load(std::string const &Filename, std::string * const ErrorText) = 0; + bool Load(std::string *const ErrorText); /** @return a new metaIndex object based on this one, but without information from #Load */ virtual metaIndex * UnloadedClone() const = 0; // the given metaIndex is potentially invalid after this call and should be deleted |
