MCPcopy
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
10def digest(text):
11 return hashlib.md5(bytes(text, "utf-8"), usedforsecurity=False).hexdigest()
12
13
14def test_no_scm(tmp_dir, dvc):

Callers 15

test_addedFunction · 0.85
test_no_cache_entryFunction · 0.85
test_deletedFunction · 0.85
test_modifiedFunction · 0.85
test_modified_subrepoFunction · 0.85
test_refsFunction · 0.85
test_directoriesFunction · 0.85
test_diff_dirtyFunction · 0.85
test_abs_targetFunction · 0.85
test_targets_single_fileFunction · 0.85
test_targets_single_dirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected