summaryrefslogtreecommitdiff
path: root/src/pkl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-17 01:39:45 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-17 01:39:45 +0100
commit28ab65a9d625e03753cd40e22d9f991d59460a16 (patch)
tree0e069ed40bb9b2c53edf45dcd10b05d1719e9519 /src/pkl.h
parent5eb0ff8f094517ab6d82751288a69c8fcea74eb1 (diff)
Use PKL types rather than file extensions.
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 d17b8fe1..aa78ae21 100644
--- a/src/pkl.h
+++ b/src/pkl.h
@@ -61,6 +61,7 @@ public:
}
std::string hash (std::string id) const;
+ std::string type (std::string id) const;
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, boost::shared_ptr<const CertificateChain> signer) const;