- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for parentDir (0.2 sec)
-
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 10K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/main/java/org/gradle/internal/installation/CurrentGradleInstallationLocator.java
File parentDir = codeSource.getParentFile(); if (parentDir.getName().equals("lib")) { File pluginsDir = new File(parentDir, "plugins"); return parentDir.isDirectory() && pluginsDir.exists() && pluginsDir.isDirectory() ? parentDir.getParentFile() : null; } if (parentDir.getName().equals("plugins")) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
if (!this.propertiesFile.exists()) { final File parentDir = this.propertiesFile.getParentFile(); if (!parentDir.exists()) { if (!parentDir.mkdir()) { throw new FileAccessException("ECL0109", new Object[] { file.getAbsolutePath() }); } } else if (!parentDir.isDirectory()) {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultClasspathBuilder.java
} } private void buildJar(File jarFile, Action action) throws IOException { File parentDir = jarFile.getParentFile(); File tmpFile = temporaryFileProvider.createTemporaryFile(jarFile.getName(), ".tmp"); try { Files.createDirectories(parentDir.toPath()); inPlaceBuilder.jar(tmpFile, action);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 3.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultFileOperationsTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/OutputsCleaner.java
} } } private boolean existsAndIsEmpty(File parentDir) throws IOException { if (!parentDir.exists()) { return false; } try (DirectoryStream<Path> directory = Files.newDirectoryStream(parentDir.toPath())) { return !directory.iterator().hasNext(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/tasks/internal/RelativeFileNameTransformerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 5.7K bytes - Viewed (0) -
src/os/stat_test.go
} } parentdir, base := filepath.Split(path) if parentdir == "" || base == "" { // skip os.Readdir test of files without directory or file name component, // such as directories with slash at the end or Windows device names. return } parent, err := os.Open(parentdir) if err != nil { t.Error(err) return } defer parent.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:38:03 UTC 2024 - 7.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy
where: walkerInstance << walkers } @VisibleForTesting static generateFilesAndSubDirectories(File parentDir, int fileCount, int dirCount, int maxDepth, int currentDepth, AtomicInteger fileIdGenerator) { for (int i = 0; i < fileCount; i++) { def file = new File(parentDir, "file" + fileIdGenerator.incrementAndGet()) file << ("x" * fileIdGenerator.get()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7K bytes - Viewed (0) -
src/os/removeall_at.go
err := Remove(path) if err == nil || IsNotExist(err) { return nil } // RemoveAll recurses by deleting the path base from // its parent directory parentDir, base := splitPath(path) parent, err := Open(parentDir) if IsNotExist(err) { // If parent does not exist, base cannot exist. Fail silently return nil } if err != nil { return err } defer parent.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:26 UTC 2024 - 4.8K bytes - Viewed (0)