MCPcopy Create free account
hub / github.com/avinassh/py-caskdb / TempStorageFile

Class TempStorageFile

tests/test_disk_store.py:9–39  ·  view source on GitHub ↗

TempStorageFile provides a wrapper over the temporary files which are used in testing. Python has two APIs to create temporary files, tempfile.TemporaryFile and tempfile.mkstemp. Files created by tempfile.TemporaryFile gets deleted as soon as they are closed. Since we need to d

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

setUpMethod · 0.85
test_get_new_fileMethod · 0.85

Calls

no outgoing calls

Tested by 2

setUpMethod · 0.68
test_get_new_fileMethod · 0.68