Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/treeverse/dvc
/ digest
Function
digest
tests/func/test_diff.py:10–11 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
8
9
10
def
digest(text):
11
return
hashlib.md5(bytes(text,
"utf-8"
), usedforsecurity=False).hexdigest()
12
13
14
def
test_no_scm(tmp_dir, dvc):
Callers
15
test_added
Function · 0.85
test_no_cache_entry
Function · 0.85
test_deleted
Function · 0.85
test_modified
Function · 0.85
test_modified_subrepo
Function · 0.85
test_refs
Function · 0.85
test_directories
Function · 0.85
test_diff_dirty
Function · 0.85
test_abs_target
Function · 0.85
test_targets_single_file
Function · 0.85
test_targets_single_dir
Function · 0.85
test_targets_single_file_in_dir
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected