- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 389 for symlinks (0.16 sec)
-
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy
linked.assertIsEmptyDir() Files.readSymbolicLink(target.toPath()) == linked.toPath() content.assertDoesNotExist() } @Requires(UnitTestPreconditions.Symlinks) def "recreates target directory when symlink is found, leaving linked content untouched"() { def linked = tmpDir.createDir("linked") def content = linked.createFile("content.txt")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 12:40:48 UTC 2024 - 14.2K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy
subDir.mkdirs() generateFilesAndSubDirectories(subDir, fileCount, dirCount, maxDepth, currentDepth + 1, fileIdGenerator) } } } @Requires(UnitTestPreconditions.Symlinks) def "symbolic links for directories are handled properly - walker: #walkerInstance.class.simpleName"() { given: def rootDir = tmpDir.createDir("root") def dir = rootDir.createDir("a/b")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaSourceIncrementalCompilationIntegrationTest.groovy
result.assertHasErrorOutput("package java.util.logging is not visible") } @Requires(UnitTestPreconditions.Symlinks) @Issue("https://github.com/gradle/gradle/issues/9202") def "source mapping file works with symlinks"() { // Daemon cleans up symlinks in VFS executer.requireDaemon() executer.requireIsolatedDaemons() given: buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 17:44:34 UTC 2024 - 6.2K bytes - Viewed (0) -
src/os/stat_windows.go
// (per https://pubs.opengroup.org/onlinepubs/9699919799.2013edition/basedefs/V1_chap04.html#tag_04_12): // symlinks before the last separator in the path must be resolved. Since // the last separator in this case follows the last path element, we should // follow symlinks in the last path element. followSurrogates = true } return stat("Lstat", name, followSurrogates)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/SdkmanInstallationSupplierTest.groovy
directories*.source.unique() == ["SDKMAN!"] } @Requires(UnitTestPreconditions.Symlinks) def "supplies installations with symlinked candidate"() { given: def real = candidates.createDir("java/11.0.6.hs-adpt") def symlink = candidates.file("java/symlink").createLink(real) when: def directories = supplier.get() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:17:53 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPathTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/cgo/internal/cgotest/overlaydir.go
} perm = info.Mode() & os.ModePerm } // Always copy directories (don't symlink them). // If we add a file in the overlay, we don't want to add it in the original. if info.IsDir() { return os.MkdirAll(dstPath, perm|0200) } // If the OS supports symlinks, use them instead of copying bytes. if err := os.Symlink(srcPath, dstPath); err == nil { return nil } // Otherwise, copy the bytes.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 20:56:09 UTC 2023 - 1.7K bytes - Viewed (0) -
cmd/os-readdir_test.go
t.Fatalf("Unable to create a file, %s", err) } // Symlink will not be added to entries. if err := os.Symlink(filepath.Join(dir, name1), filepath.Join(dir, name2)); err != nil { t.Fatalf("Unable to create a symlink, %s", err) } // Add to entries. entries = append(entries, name1) // Symlinks are preserved for regular files entries = append(entries, name2) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 7.5K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileModeAccessor.java
* limitations under the License. */ package org.gradle.internal.file; import java.io.File; public interface FileModeAccessor { /** * @param f The file to get the mode for. Note that all symlinks are followed. * @return The unix mode of the file */ int getUnixMode(File f) throws Exception;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 898 bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/AsdfInstallationSupplierTest.groovy
directories*.source.unique() == ["asdf-vm"] } @Requires(UnitTestPreconditions.Symlinks) def "supplies installations with symlinked candidate"() { given: def real = candidates.createDir("installs/java/11.0.6.hs-adpt") def symlink = candidates.file("installs/java/symlink").createLink(real) when: def directories = supplier.get() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:17:53 UTC 2024 - 3.5K bytes - Viewed (0)