summaryrefslogtreecommitdiff
path: root/src/asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-02 01:01:00 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-02 01:01:00 +0100
commite0ab473ef01c5301929845a1ca4898568b6fbd71 (patch)
tree8f6808183829305b308a7985f47cfbaa29bf54ff /src/asset.cc
parent91563c058a8d2207437a482d4cc63c5a166a26f4 (diff)
No-op; comments.
Diffstat (limited to 'src/asset.cc')
-rw-r--r--src/asset.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/asset.cc b/src/asset.cc
index 7e60ecc5..24fc5919 100644
--- a/src/asset.cc
+++ b/src/asset.cc
@@ -104,6 +104,12 @@ Asset::equals (boost::shared_ptr<const Asset> other, EqualityOptions, NoteHandle
return true;
}
+/** Set the file that holds this asset on disk. Calling this function
+ * clears this object's store of its hash, so you should call ::hash
+ * after this.
+ *
+ * @param file New file's path.
+ */
void
Asset::set_file (boost::filesystem::path file) const
{