Commits

Author Commit Message Labels Comments Date
Thomas Waldmann
add some comments about type conversion to match what the storage accepts / returns
Thomas Waldmann
use a BytesStorage for meta and a FileStorage for data, adjust tests meta is usually a dict and serialized to (a few) bytes by the backend, so the appropriate storage for that is a ByteStorage (accepts and return bytes). data is better handled as a file, as it may get very big and we do not want to keep it completely in memory. thus, the appropriate storage for that is a FileStorage (accepts and returns open files).
Thomas Waldmann
add a revision backend implementation, with tests
Thomas Waldmann
memory storage: use try/finally for set_file() to close stream
Thomas Waldmann
fs storage: more memory efficient get_file / set_file
Thomas Waldmann
add/fix (c) headers
Thomas Waldmann
added a memory and a filesystem Storage with tests
  1. Prev
  2. Next