- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 122 for parentDir (0.43 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) -
src/io/ioutil/example_test.go
log.Fatal(err) } } func ExampleTempDir_suffix() { parentDir := os.TempDir() logsDir, err := ioutil.TempDir(parentDir, "*-logs") if err != nil { log.Fatal(err) } defer os.RemoveAll(logsDir) // clean up // Logs can be cleaned out earlier if needed by searching // for all directories whose suffix ends in *-logs. globPattern := filepath.Join(parentDir, "*-logs") matches, err := filepath.Glob(globPattern)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 22 23:03:58 UTC 2021 - 2.7K 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)