MCPcopy Create free account
hub / github.com/IDEA-Research/DINO / dump

Method dump

util/slconfig.py:357–363  ·  view source on GitHub ↗
(self, file=None)

Source from the content-addressed store, hash-verified

355 return iter(self._cfg_dict)
356
357 def dump(self, file=None):
358
359 if file is None:
360 return self.pretty_text
361 else:
362 with open(file, 'w') as f:
363 f.write(self.pretty_text)
364
365 def merge_from_dict(self, options):
366 """Merge list into cfg_dict

Callers 6

testFunction · 0.80
mainFunction · 0.80
dump_to_fileobjMethod · 0.80
dump_to_fileobjMethod · 0.80
dump_to_fileobjMethod · 0.80
dump_to_strMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected