Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/danfengcao/binlog2sql
/ temp_open
Function
temp_open
binlog2sql/binlog2sql_util.py:45–51 ·
view source on GitHub ↗
(filename, mode)
Source
from the content-addressed store, hash-verified
43
44
@contextmanager
45
def
temp_open(filename, mode):
46
f = open(filename, mode)
47
try
:
48
yield
f
49
finally:
50
f.close()
51
os.remove(filename)
52
53
54
def
parse_args():
Callers
1
process_binlog
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected