OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
cache.persistent_cache.PersistentCache Class Reference

Persist opaque bytes using hashed filenames and atomic replacement. More...

Public Member Functions

bytes|None get (self, str key)
 Return cached bytes or None when the key is absent.
None put (self, str key, bytes data)
 Atomically store bytes under a logical key.
bool remove (self, str key)
 Remove a key if present.

Detailed Description

Persist opaque bytes using hashed filenames and atomic replacement.


The documentation for this class was generated from the following file:
  • controllers/cache/persistent_cache.py