summaryrefslogtreecommitdiff
path: root/src/pkl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-30 20:33:01 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-30 20:33:01 +0200
commit903f23a46edac723fd8b8f9b4bf1236fc0dd05da (patch)
tree43bf7b4941a03859f622e925907a1ba6e9c1be65 /src/pkl.h
parentc4c176e9d3bd72fe1746f22d7afb442ca72a72f2 (diff)
Rename PKL::write to PKL::write_xml for consistency.v1.8.17
Diffstat (limited to 'src/pkl.h')
-rw-r--r--src/pkl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkl.h b/src/pkl.h
index baa8a3e2..8b1b88a3 100644
--- a/src/pkl.h
+++ b/src/pkl.h
@@ -67,7 +67,7 @@ public:
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;
+ void write_xml (boost::filesystem::path file, std::shared_ptr<const CertificateChain> signer) const;
/** @return the most recent disk file used to read or write this PKL, if there is one */
boost::optional<boost::filesystem::path> file () const {