MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / isAddress

Method isAddress

src/Site/SiteManager.py:132–133  ·  view source on GitHub ↗
(self, address)

Source from the content-addressed store, hash-verified

130
131 # Checks if its a valid address
132 def isAddress(self, address):
133 return re.match("^[A-Za-z0-9]{26,35}$", address)
134
135 def isDomain(self, address):
136 return False

Callers 3

needMethod · 0.95
actionSiteCloneMethod · 0.45
actionSiteAddPromptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected