Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
18
def
remove_bom(source: str) -> str:
19
if
source and source[0] ==
'\ufeff'
:
20
source = source[1:]
21
return
source
22
23
24
def
strip_empty_lines(source: str) -> str:
Callers
3
__new__
Method · 0.90
parse
Method · 0.90
parse_file
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected