- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of about 10,000 for FILE (0.08 sec)
-
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractBaseDirFileResolver.java
} File file = convertObjectToFile(path); if (file == null) { throw new IllegalArgumentException(String.format("Cannot convert path to File. path='%s'", path)); } if (!file.isAbsolute()) { File baseDir = getBaseDir(); if (!GUtil.isTrue(baseDir)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.5K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
File file = new File(localRepository.getBasedir(), localRepository.pathOf(a)); file.delete(); a.setFile(file); File touchFile = updateCheckManager.getTouchfile(a); touchFile.delete(); assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository)); file.getParentFile().mkdirs(); file.createNewFile();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 8.7K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ConfigurableFileTreeIntegrationTest.groovy
given: file('files/one.txt').createFile() file('files/a/one.txt').createFile() file('files/a/not ONE.txt').createFile() file('files/b/ignore.txt').createFile() file('files/b/not one to IGNORE.txt').createFile() file('files/b/one.ignore').createFile() buildFile """ def files = fileTree(dir: 'files')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 9.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathWalker.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 5.6K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java
package org.apache.maven.cli; import java.io.File; import java.nio.file.Paths; /** * Resolve relative file path against the given base directory */ public class ResolveFile { public static File resolveFile(File file, String baseDirectory) { if (file == null) { return null; } else if (file.isAbsolute()) { return file; } else if (file.getPath().startsWith(File.separator)) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Nov 22 13:26:01 UTC 2022 - 1.4K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/LegacyWindowsSdkInstall.java
@Override public List<File> getIncludeDirs() { List<File> includesSdk8 = Arrays.asList( new File(baseDir, "Include/shared"), new File(baseDir, "Include/um") ); for (File file : includesSdk8) { if (!file.isDirectory()) { return Collections.singletonList(new File(baseDir, "Include")); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockFileReaderWriterTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 9.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
} public void testCreateParentDirs_noParentsNeeded() throws IOException { File file = file(getTempDir(), "nonexistent.file"); assertTrue(file.getParentFile().exists()); Files.createParentDirs(file); } public void testCreateParentDirs_oneParentNeeded() throws IOException { File file = file(getTempDir(), "parent", "nonexistent.file"); File parent = file.getParentFile();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 22.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/OutputsCleaner.java
*/ public void cleanupOutput(File file, FileType fileType) throws IOException { switch (fileType) { case Directory: markDirForDeletion(file); break; case RegularFile: if (fileSafeToDelete.test(file)) { if (file.exists()) { LOGGER.debug("Deleting stale output file '{}'.", file);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 5.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/resource/local/DefaultPathKeyFileStoreTest.groovy
def stored = store.get("a") stored.file.directory stored.file == fsBase.file("a") fsBase.file("a").assertHasDescendants("child-1", "dir/child-2") !a.exists() } def "can add file to filestore"() { when: store.add("a", { File f -> f.text = "abc"} as Action<File>) store.add("b", { File f -> f.text = "def"} as Action<File>) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 20 09:57:05 UTC 2023 - 6.3K bytes - Viewed (0)