MCPcopy Create free account
hub / github.com/argotorg/solidity / clean_string

Function clean_string

scripts/bytecodecompare/prepare_report.py:153–155  ·  view source on GitHub ↗
(value: Optional[str])

Source from the content-addressed store, hash-verified

151
152
153def clean_string(value: Optional[str]) -> Optional[str]:
154 value = value.strip() if value is not None else None
155 return value if value != '' else None
156
157
158def parse_standard_json_output(source_file_name: Path, standard_json_output: str) -> FileReport:

Callers 2

parse_cli_outputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected