piermesh/docs/Daisy/Catch.md

861 B
Raw Blame History

Daisy cache for catchs, PierMeshs domain analog

class Daisy.Catch.Catch(path: str = 'catch', filepaths=None, catchFile=None, walk: bool = False)

Sub class of Cache for handling catchs

image

🔗 Source

addc(peer, node, seperator, head, tail, data, fins=None)

catches = {}

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 Caches get to get record