Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for exists (0.24 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

            try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) {
                Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE);
                if (Files.exists(upgradedPropertiesJson)) {
                    Files.copy(upgradedPropertiesJson, to.getAsFile().get().toPath(), StandardCopyOption.REPLACE_EXISTING);
                } else {
                    to.getAsFile().get().delete();
                }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Nov 22 22:15:41 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top