summaryrefslogtreecommitdiff
path: root/src/pkl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-25 21:59:26 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-25 21:59:26 +0200
commitba7d09616f8e529d71ff1e7843f39f22d2823409 (patch)
tree36e2c83a89239c29d45fb40356bec58dc831d99c /src/pkl.h
parent7c24b62d51e0ddf14af451ef5a543f07b69f111e (diff)
Update PKL assets before writing it.
Diffstat (limited to 'src/pkl.h')
-rw-r--r--src/pkl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkl.h b/src/pkl.h
index 01988e70..9313f0f6 100644
--- a/src/pkl.h
+++ b/src/pkl.h
@@ -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;