MCPcopy Index your code
hub / github.com/Vanderhoof/PyDBML / remove_bom

Function remove_bom

pydbml/tools.py:18–21  ·  view source on GitHub ↗
(source: str)

Source from the content-addressed store, hash-verified

16
17
18def remove_bom(source: str) -> str:
19 if source and source[0] == '\ufeff':
20 source = source[1:]
21 return source
22
23
24def strip_empty_lines(source: str) -> str:

Callers 3

__new__Method · 0.90
parseMethod · 0.90
parse_fileMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected