MCPcopy
hub / github.com/RUB-NDS/PRET / populate_resource

Method populate_resource

postscript.py:1059–1062  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1057
1058 # retrieve available resources
1059 def populate_resource(self):
1060 if not self.options_resource:
1061 str_send = '(*) {print (\\n) print} 128 string /Category resourceforall'
1062 self.options_resource = self.cmd(str_send).splitlines()
1063
1064 # ------------------------[ set <key=value> ]-------------------------
1065 def do_set(self, arg):

Callers 2

do_resourceMethod · 0.95
help_resourceMethod · 0.95

Calls 1

cmdMethod · 0.95

Tested by

no test coverage detected