- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for dir (0.14 sec)
-
guava-tests/test/com/google/common/io/MoreFilesTest.java
Files.createDirectories(fs.getPath("dir/b/i/j/l")); Files.createFile(fs.getPath("dir/a")); Files.createFile(fs.getPath("dir/c")); Files.createSymbolicLink(fs.getPath("dir/d"), fs.getPath("b/i")); Files.createDirectory(fs.getPath("dir/e")); Files.createSymbolicLink(fs.getPath("dir/f"), fs.getPath("/dontdelete")); Files.createFile(fs.getPath("dir/b/g"));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 29 22:57:05 GMT 2024 - 27.2K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
try { Thread.sleep(20); } catch (InterruptedException e) { // ignore } File dir = new File(TEMP_DIR_PATH, baseFilename + System.currentTimeMillis()); dir.mkdirs(); markForDeletion(dir); return dir; } public synchronized File createTempFile() throws IOException { File tempFile = File.createTempFile(baseFilename, fileSuffix);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
File dir1 = newDir("dir-1"); newFile("dir-1/file-b"); newFile("dir-1/dir-2"); assertThat(Iterables.limit(Files.fileTraverser().breadthFirst(rootDir), 3)) .containsExactly(rootDir, fileA, dir1); } public void testFileTraverser_multipleDirectoryLayers_traversalReturnsAll() throws Exception { File fileA = newFile("file-a"); File dir1 = newDir("dir-1");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Apr 21 20:17:27 GMT 2023 - 3.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java
@Named public class DefaultRootLocator implements RootLocator { public boolean isRootDirectory(Path dir) { if (Files.isDirectory(dir.resolve(".mvn"))) { return true; } // we're too early to use the modelProcessor ... Path pom = dir.resolve("pom.xml"); try (InputStream is = Files.newInputStream(pom)) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
* <code>java.io.tmpdir</code> システムプロパティ。例:/tmp */ public static final String JAVA_IO_TMPDIR = System.getProperty("java.io.tmpdir"); /** * <code>user.dir</code> システムプロパティ。 */ public static final String USER_DIR = System.getProperty("user.dir"); /** * <code>user.home</code> システムプロパティ。 */ public static final String USER_HOME = System.getProperty("user.home");
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
if (missing) { // missing artifact - let's track the path anyway File dir = event.getSession().getLocalRepository().getBasedir(); dir = new File( dir, event.getSession().getLocalRepositoryManager().getPathForLocalArtifact(event.getArtifact())); trackingDir = dir.getParentFile().toPath().resolve(".tracking"); } else {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Apr 12 11:08:37 GMT 2023 - 9.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
this.pattern = Preconditions.checkNotNull(pattern); } /* * Our implementation works fine with a null `dir`. However, there's nothing in the documentation * of the supertype that suggests that implementations are expected to tolerate null. That said, I * see calls in Google code that pass a null `dir` to a FilenameFilter.... So let's declare the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java
} public void testAccept() { File dir = new File("foo"); FilenameFilter filter = new PatternFilenameFilter("a+"); assertTrue(filter.accept(dir, "a")); assertTrue(filter.accept(dir, "aaaa")); assertFalse(filter.accept(dir, "b")); // Show that dir is ignored assertTrue(filter.accept(null, "a")); } public void testNulls() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
} else if (path.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with base dir but with drive root result = path.getAbsoluteFile(); } else { // an ordinary relative path, align with base dir result = new File(new File(basedir, path.getPath()).toURI().normalize()).getAbsoluteFile(); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.1K bytes - Viewed (0)