[Zodb-checkins] SVN: ZODB/branches/jim-zeo-blob/src/ZODB/Blobs/interfaces.py Added a temporaryDirectory method.

Jim Fulton jim at zope.com
Tue May 15 18:43:54 EDT 2007


Log message for revision 75786:
  Added a temporaryDirectory method.
  

Changed:
  U   ZODB/branches/jim-zeo-blob/src/ZODB/Blobs/interfaces.py

-=-
Modified: ZODB/branches/jim-zeo-blob/src/ZODB/Blobs/interfaces.py
===================================================================
--- ZODB/branches/jim-zeo-blob/src/ZODB/Blobs/interfaces.py	2007-05-15 22:43:49 UTC (rev 75785)
+++ ZODB/branches/jim-zeo-blob/src/ZODB/Blobs/interfaces.py	2007-05-15 22:43:52 UTC (rev 75786)
@@ -68,3 +68,9 @@
 
         Raises POSKeyError if the blobfile cannot be found.
         """
+
+    def temporaryDirectory():
+        """Return a directory that should be used for uncommitted blob data.
+
+        If Blobs use this, then commits can be performed with a simple rename.
+        """



More information about the Zodb-checkins mailing list