summaryrefslogtreecommitdiff
path: root/src/asset.cc
diff options
context:
space:
mode:
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
{