Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for forceMkdir (0.35 sec)

  1. platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/BuildCacheClientModule.java

                    switch (type) {
                        case DIRECTORY:
                            FileUtils.forceMkdir(root.getParentFile());
                            FileUtils.cleanDirectory(root);
                            break;
                        case FILE:
                            FileUtils.forceMkdir(root.getParentFile());
                            if (root.exists()) {
                                FileUtils.forceDelete(root);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 07:11:58 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/internal/DefaultManifest.java

            File manifestFile = fileResolver.resolve(path);
            try {
                File parentFile = manifestFile.getParentFile();
                if (parentFile != null) {
                    FileUtils.forceMkdir(parentFile);
                }
                IoActions.withResource(new FileOutputStream(manifestFile), new Action<FileOutputStream>() {
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPacker.java

                    break;
                }
                entries.incrementAndGet();
    
                File file = new File(treeRoot, parser.getRelativePath());
                if (isDir) {
                    FileUtils.forceMkdir(file);
                    chmodUnpackedFile(entry, file);
                    String internedAbsolutePath = stringInterner.intern(file.getAbsolutePath());
                    String internedName = stringInterner.intern(parser.getName());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:19 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top