Commit c5dad18b authored by Tim Peters's avatar Tim Peters

Try to say something about what the cryptically named arguments to

FileStoragePacker's constructor mean.
parent 11c3778e
...@@ -408,6 +408,10 @@ class PackCopier(DataCopier): ...@@ -408,6 +408,10 @@ class PackCopier(DataCopier):
class FileStoragePacker(FileStorageFormatter): class FileStoragePacker(FileStorageFormatter):
# path is the storage file path.
# stop is the pack time, as a TimeStamp.
# la and lr are the acquire() and release() methods of the storage's lock.
# cla and clr similarly, for the storage's commit lock.
def __init__(self, path, stop, la, lr, cla, clr): def __init__(self, path, stop, la, lr, cla, clr):
self._name = path self._name = path
self._file = open(path, "rb") self._file = open(path, "rb")
......
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