Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for directoryContentWithFilenameFilter (0.23 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy

                String getGroovyExpression() {
                    "new File(\"$directoryPath\").listFiles((FileFilter) (File file) -> true)"
                }
            }
        }
    
        static UndeclaredFileAccess directoryContentWithFilenameFilter(String directoryPath) {
            new UndeclaredFileAccess(directoryPath) {
                @Override
                String getKotlinExpression() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            "file filter"     | (TestFile it) -> { UndeclaredFileAccess.directoryContentWithFileFilter(testFilePath(it)) }
            "filename filter" | (TestFile it) -> { UndeclaredFileAccess.directoryContentWithFilenameFilter(testFilePath(it)) }
        }
    
        def "reports reading file on #testCase"() {
            Assume.assumeFalse("cannot use the file APIs in restricted DSL", isRestrictedDsl())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top