MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / dumps

Method dumps

tests/cluecode/cluecode_test_utils.py:111–115  ·  view source on GitHub ↗

Return a string representation of self in YAML block format.

(self)

Source from the content-addressed store, hash-verified

109 ])
110
111 def dumps(self):
112 """
113 Return a string representation of self in YAML block format.
114 """
115 return saneyaml.dump(self.to_dict())
116
117 def dump(self, check_exists=False):
118 """

Callers 15

dumpMethod · 0.95
as_jsonFunction · 0.45
detect_copyrightsMethod · 0.45
bashparse.pyFile · 0.45
process_codebaseMethod · 0.45
to_jsonMethod · 0.45
write_debian_copyrightFunction · 0.45
generate_indexesFunction · 0.45
generate_detailsFunction · 0.45
check_jsonlines_scanFunction · 0.45
_dump_resourceMethod · 0.45

Calls 2

to_dictMethod · 0.95
dumpMethod · 0.45

Tested by

no test coverage detected