MCPcopy Create free account
hub / github.com/PyTables/PyTables / copy2

Function copy2

bench/table-copy.py:48–52  ·  view source on GitHub ↗
(input_path, output_path)

Source from the content-addressed store, hash-verified

46
47
48def copy2(input_path, output_path):
49 print(f"copying data from {input_path} to {output_path}...")
50 input_file = tb.open_file(input_path, mode="r")
51 input_file.copy_file(output_path, overwrite=True, filters=filters)
52 input_file.close()
53
54
55def copy3(input_path, output_path):

Callers

nothing calls this directly

Calls 2

copy_fileMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected