diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-25 21:59:26 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-25 21:59:26 +0200 |
| commit | ba7d09616f8e529d71ff1e7843f39f22d2823409 (patch) | |
| tree | 36e2c83a89239c29d45fb40356bec58dc831d99c /src/pkl.h | |
| parent | 7c24b62d51e0ddf14af451ef5a543f07b69f111e (diff) | |
Update PKL assets before writing it.
Diffstat (limited to 'src/pkl.h')
| -rw-r--r-- | src/pkl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -76,6 +76,7 @@ public: boost::optional<std::string> hash (std::string id) const; boost::optional<std::string> type (std::string id) const; + void clear_assets(); void add_asset (std::string id, boost::optional<std::string> annotation_text, std::string hash, int64_t size, std::string type); void write (boost::filesystem::path file, std::shared_ptr<const CertificateChain> signer) const; |
