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

Function get_gitignore_content

tests/utils/__init__.py:15–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14
15def get_gitignore_content():
16 with open(Git.GITIGNORE, encoding="utf-8") as gitignore:
17 return gitignore.read().splitlines()
18
19
20@contextmanager

Callers 7

test_gitignore_basicFunction · 0.90
test_removeFunction · 0.90
test_failed_add_cleanupFunction · 0.90
test_add_with_outFunction · 0.90

Calls 2

openFunction · 0.85
readMethod · 0.45

Tested by 7

test_gitignore_basicFunction · 0.72
test_removeFunction · 0.72
test_failed_add_cleanupFunction · 0.72
test_add_with_outFunction · 0.72