2024-08-02 04:27:56 +00:00
|
|
|
|
<a id="daisy-catch-cache"></a>
|
|
|
|
|
|
|
|
|
|
# Daisy Catch cache
|
2024-08-01 01:09:11 +00:00
|
|
|
|
|
2024-11-26 17:43:02 +00:00
|
|
|
|
### *class* Daisy.Catch.Catch(daisyCryptography, path: str = 'catch', filepaths=None, catchFile=None, walk: bool = False)
|
2024-08-01 01:09:11 +00:00
|
|
|
|
|
|
|
|
|
Sub class of Cache for handling catchs
|
|
|
|
|
|
|
|
|
|
![image](https://git.utopic.work/PierMesh/piermesh/raw/branch/main/imgs/catchdisplay.png)
|
|
|
|
|
|
2024-08-01 22:03:59 +00:00
|
|
|
|
[🔗 Source](https://git.utopic.work/PierMesh/piermesh/src/branch/main/Daisy/Catch.py)
|
|
|
|
|
|
2024-11-26 17:43:02 +00:00
|
|
|
|
#### get(head: str, body: str, fins=None)
|
2024-08-01 01:09:11 +00:00
|
|
|
|
|
|
|
|
|
Get catch by pieces
|
|
|
|
|
|
|
|
|
|
* **Parameters:**
|
|
|
|
|
* **head** (*str*) – First part of catch (maximum: 4 characters)
|
|
|
|
|
* **tail** (*str*) – Second part of catch (maximum: 16 characters)
|
|
|
|
|
* **fins** – List of (maximum 8 characters) strings at the end of the catch oe None if none
|
|
|
|
|
|
|
|
|
|
#### sget(path: str)
|
|
|
|
|
|
|
|
|
|
Call Cache’s get to get record
|