MCPcopy
hub / github.com/eudicots/Cactus / is_html

Method is_html

cactus/page.py:48–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 self.build_path = self.source_path
47
48 def is_html(self):
49 return urllib.parse.urlparse(self.source_path).path.endswith('.html')
50
51 def is_index(self):
52 return urllib.parse.urlparse(self.source_path).path.endswith('index.html')

Callers 3

__init__Method · 0.95
parse_contextMethod · 0.95
contextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected