(self, contents)
| 1483 | ) |
| 1484 | |
| 1485 | def generateTempFile(self, contents): |
| 1486 | contentFile = tempfile.NamedTemporaryFile(prefix='git-p4-large-file', delete=False) |
| 1487 | for d in contents: |
| 1488 | contentFile.write(d) |
| 1489 | contentFile.close() |
| 1490 | return contentFile.name |
| 1491 | |
| 1492 | def exceedsLargeFileThreshold(self, relPath, contents): |
| 1493 | if gitConfigInt('git-p4.largeFileThreshold'): |
no test coverage detected