MCPcopy
hub / github.com/treeverse/dvc / __init__

Method __init__

dvc/exceptions.py:133–140  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

131 """
132
133 def __init__(self, path):
134 msg = (
135 "move is not permitted for stages that are not data sources. "
136 f"You need to either move {path!r} to a new location and edit "
137 f"it by hand, or remove {path!r} and create a new one at the "
138 "desired location."
139 )
140 super().__init__(msg)
141
142
143class NotDvcRepoError(DvcException):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected