23 lines
688 B
Markdown
23 lines
688 B
Markdown
|
Daisy cache for catchs,
|
|||
|
PierMesh’s domain analog
|
|||
|
==========================
|
|||
|
|
|||
|
### *class* Daisy.Catch.Catch(path: str = 'catch', filepaths=None, catchFile=None, walk: bool = False)
|
|||
|
|
|||
|
Sub class of Cache for handling catchs
|
|||
|
|
|||
|
![image](https://git.utopic.work/PierMesh/piermesh/raw/branch/main/imgs/catchdisplay.png)
|
|||
|
|
|||
|
#### get(head: str, tail: str, fins=None)
|
|||
|
|
|||
|
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
|