aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-07-16 21:28:50 -0400
committerPaul Duncan <pabs@pablotron.org>2016-07-16 21:28:50 -0400
commit49a82a69d1cef4d067dcd6d4074dd77f86cfc332 (patch)
tree4795db7ee91510f331d1f44f0bf1703e50da80ca /src
parent78bc82bd95889af8c0cba152b8a0956b29b44e7b (diff)
downloadguff-49a82a69d1cef4d067dcd6d4074dd77f86cfc332.tar.bz2
guff-49a82a69d1cef4d067dcd6d4074dd77f86cfc332.zip
add comment
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