Conditions | 3 |
Total Lines | 10 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | # SPDX-License-Identifier: LGPL-3.0-only |
||
36 | @property |
||
37 | def ignores(self): |
||
38 | if self._ignores_cache is None: |
||
39 | self._ignores_cache = [] |
||
40 | os.chdir(self.path) |
||
41 | for line in self.call( |
||
42 | 'svn', 'pg', '-R', 'svn:ignore', '.', return_stdout=True |
||
43 | ).splitlines(): |
||
44 | self._ignores_cache.append(line) |
||
45 | return self._ignores_cache |
||
46 |