- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for linesBetween (0.48 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheProblemsFixture.groovy
// by looking for `// begin-report-data` and `// end-report-data` def jsonText = linesBetween(reportFile, '// begin-report-data', '// end-report-data') assert jsonText: "malformed report file" new JsonSlurper().parseText(jsonText) as Map<String, Object> } private static String linesBetween(File file, String beginLine, String endLine) { return file.withReader('utf-8') { reader ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 22.8K bytes - Viewed (0)