MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / parse_template

Function parse_template

web/pgadmin/utils/versioned_template_loader.py:58–61  ·  view source on GitHub ↗
(template)

Source from the content-addressed store, hash-verified

56
57
58def parse_template(template):
59 template_path_parts = template.split("#", 3)
60 return template_path_parts[0].strip('\\').strip('/'), \
61 template_path_parts[-1].strip('\\').strip('/')
62
63
64def get_version_mapping(template):

Callers 1

get_sourceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected