Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/treeverse/dvc
/ replace
Method
replace
dvc/testing/path_info.py:178–179 ·
view source on GitHub ↗
(self, path=None)
Source
from the content-addressed store, hash-verified
176
return
self._base_parts + self._path.parts
177
178
def
replace(self, path=None):
179
return
self.from_parts(*self._base_parts, path=path)
# type: ignore[misc]
180
181
@cached_property
182
def
url(self) -> str:
Callers
15
__div__
Method · 0.95
joinpath
Method · 0.95
parent
Method · 0.95
_resolve
Method · 0.45
atomic_file
Function · 0.45
close
Method · 0.45
__init__
Method · 0.45
make_relpath
Function · 0.45
as_posix
Function · 0.45
parse_target
Function · 0.45
_update_lines
Function · 0.45
get_definition_data
Method · 0.45
Calls
1
from_parts
Method · 0.95
Tested by
10
extract_vega_specs
Function · 0.36
verify_image
Function · 0.36
_remove_blanks
Function · 0.36
_assert_templates_equal
Function · 0.36
test_remote_add_relative_path
Function · 0.36
test_cmd_cache_relative_path
Function · 0.36
test_diff_rename_folder
Function · 0.36
test_diff_rename_file
Function · 0.36
_dos2unix
Function · 0.36
test_hook_is_called
Function · 0.36