Attention

You are looking at outdated documentation for version 2.x. A newer version is available.

wsgidav.lock_storage

Description

Implements two storage providers for LockManager.

Two alternative lock storage classes are defined here: one in-memory (dict-based), and one persistent low performance variant using shelve.

See LockManager

Classes

LockStorageDict() An in-memory lock manager storage implementation using a dictionary.
LockStorageShelve(storagePath) A low performance lock manager implementation using shelve.

Other Members

ReadWriteLock() Read-Write lock class.
compat Tool functions to support Python 2 and 3.
generateLockToken()
lockString(lockDict) Return readable rep.
normalizeLockRoot(path)
os OS routines for NT or Posix depending on what system we’re on.
shelve Manage shelves of pickled objects.
time This module provides various functions to manipulate time values.
util Miscellaneous support functions for WsgiDAV.
validateLock(lock)