chiark / gitweb /
mintstamp => lexminval; much work, it sort of compiles now but more needs writing
[chiark-tcl.git] / cdb / cdb.tct
index 017b4e63abedb69b96503f61c75b6a5e7cb5756b..e33607bc7932348367007a86a0ae3a4547452908 100644 (file)
@@ -58,23 +58,25 @@ Table cdbwr Cdbwr_SubCommand
        open 0
                pathb   string
                on_info obj
-               ?on_mintstamp obj
-               # on_mintstamp present and not empty list: provides a
-               #  script which returns the current mintstamp.  This
-               #  means entries start with a 16-hex-digit signed
-               #  integer known as a tstamp; occasionally,
-               #  on_mintstamp will be called and then entries whose
-               #  tstamp is < mintstamp will be deleted automatically.
+               ?on_lexminval obj
+               # on_lexminval present and not empty list: provides a
+               #  script which returns the current lexminval.  In
+               #  this case, occasionally,
+               #  on_lexminval will be called and then entries whose
+               #  value is lexically strictly less than lexminval
+               #  will be deleted automatically.  The comparison
+               #  is bytewise on the UTF-8 representations.
                =>      iddata(&cdbtcl_rwdatabases)
        open-okjunk RWSCF_OKJUNK
                pathb   string
                on_info obj
-               ?on_mintstamp obj
+               ?on_lexminval obj
                =>      iddata(&cdbtcl_rwdatabases)
                # on_info <event> <xinfo>...:
                # on_info open-clean <statistics-info-string>
                # on_info open-dirty-start <statistics-info-string>
-               # on_info open-dirty-junk <problem-info-string>
+               # on_info open-dirty-junk <problem-info-string> \
+               #               <problem-error-code-list>
                # on_info open-dirty-done <statistics-info-string>
                # on_info compact-start <statistics-info-string>
                # on_info compact-done <statistics-info-string>