Commit c7ad6a90 authored by Nicolas Delaby's avatar Nicolas Delaby

Add updateContentMd5 method in interface.

This method will help caching handling by checking
that cached conversion result is computed from same data
as the one carried by document.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35205 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e5265158
...@@ -90,3 +90,9 @@ class ICachedConvertable(Interface): ...@@ -90,3 +90,9 @@ class ICachedConvertable(Interface):
**kw -- conversion parameters **kw -- conversion parameters
""" """
def updateContentMd5():
"""
Udpate MD5 hash of non converted data in order
to check that returned cached result was computed from same origin.
"""
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment