MCPcopy Index your code
hub / github.com/treeverse/dvc / daemon

Function daemon

dvc/daemon.py:135–143  ·  view source on GitHub ↗

Launch a `dvc daemon` command in a detached process. Args: args (list): list of arguments to append to `dvc daemon` command.

(args: list[str])

Source from the content-addressed store, hash-verified

133
134
135def daemon(args: list[str]) -> None:
136 """Launch a `dvc daemon` command in a detached process.
137
138 Args:
139 args (list): list of arguments to append to `dvc daemon` command.
140 """
141 if flag := _map_log_level_to_flag():
142 args = [*args, flag]
143 daemonize(["daemon", *args])
144
145
146def _spawn(

Callers 2

fetchMethod · 0.90
collect_and_send_reportFunction · 0.90

Calls 2

_map_log_level_to_flagFunction · 0.85
daemonizeFunction · 0.85

Tested by

no test coverage detected