summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-05 00:06:05 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-05 23:52:14 +0100
commitaa10e37a255a63dc269fb30358a5946d558e39b0 (patch)
treeed9608f361f5a9c440f09b7eb74c64ece910a63c /src
parentab766096598188759d29829043bf28e63379b730 (diff)
Fix annoying comment.
Diffstat (limited to 'src')
-rw-r--r--src/lib/content.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index aca5abea5..bee7419dd 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -144,9 +144,9 @@ public:
return _last_write_times[i];
}
- /** @return Digest of the content's file(s). Note: this is
- * not a complete MD5-or-whatever hash, but a sort of poor
- * man's version (see comments in examine()).
+ /** @return Digest of the content's file(s). This is a MD5 digest
+ * of the first million bytes, the last million bytes, and the
+ * size of the first file in ASCII.
*/
std::string digest() const {
boost::mutex::scoped_lock lm(_mutex);