MCPcopy Create free account
hub / github.com/dmlc/xgboost / copytree_with_logging

Function copytree_with_logging

python-package/packager/util.py:10–15  ·  view source on GitHub ↗

Call shutil.copytree() with logging

(
    src: pathlib.Path, dest: pathlib.Path, logger: logging.Logger
)

Source from the content-addressed store, hash-verified

8
9
10def copytree_with_logging(
11 src: pathlib.Path, dest: pathlib.Path, logger: logging.Logger
12) -> None:
13 """Call shutil.copytree() with logging"""
14 logger.info("Copying %s -> %s", str(src), str(dest))
15 shutil.copytree(src, dest)
16
17
18def copy_with_logging(

Callers 3

build_wheelFunction · 0.85
build_sdistFunction · 0.85
copy_cpp_src_treeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected