aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/guff/handlers.cr2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guff/handlers.cr b/src/guff/handlers.cr
index 51be36e..3e51169 100644
--- a/src/guff/handlers.cr
+++ b/src/guff/handlers.cr
@@ -621,6 +621,8 @@ module Guff::Handlers
# FIXME: rather than a hash this should be an HMAC
d = OpenSSL::Digest.new("SHA1")
+
+ # FIXME: should this be inode rather than path?
d << "%s-%d-%d" % [path, st.size, st.mtime.epoch_ms]
# return digest