MCPcopy Create free account
hub / github.com/XiaoMi/mace / block

Method block

tools/python/utils/util.py:125–128  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

123
124 @staticmethod
125 def block(message):
126 line_length = 10 + len(str(message)) + 10
127 star_line = '*' * line_length + '\n'
128 return star_line + str(message).center(line_length) + '\n' + star_line
129
130
131def formatted_file_name(input_file_name, input_name):

Callers 1

compare_outputFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected