Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
pip._vendor.cachecontrol.caches.file_cache._FileCacheMixin Class Reference
Inheritance diagram for pip._vendor.cachecontrol.caches.file_cache._FileCacheMixin:
Inheritance graph
[legend]

Public Member Functions

None __init__ (self, str directory, bool forever=False, int filemode=0o0600, int dirmode=0o0700, type[BaseFileLock]|None lock_class=None)
 
bytes|None get (self, str key)
 
None set (self, str key, bytes value, int|datetime|None expires=None)
 

Static Public Member Functions

str encode (str x)
 

Public Attributes

 directory
 
 forever
 
 filemode
 
 dirmode
 
 lock_class
 

Protected Member Functions

str _fn (self, str name)
 
None _write (self, str path, bytes data)
 
None _delete (self, str key, str suffix)
 

Detailed Description

Shared implementation for both FileCache variants.

Member Function Documentation

◆ _write()

None pip._vendor.cachecontrol.caches.file_cache._FileCacheMixin._write (   self,
str  path,
bytes  data 
)
protected
Safely write the data to the given path.

The documentation for this class was generated from the following file: