- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 136 for symlinks (0.2 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/file/FileCollectionSymlinkTest.groovy
@Shared TestFile file = baseDir.file("file") @Shared TestFile symlink = baseDir.file("symlink") @Shared TestFile symlinked = baseDir.file("symlinked") def setupSpec() { file.text = 'some contents' symlinked.text = 'target of symlink' symlink.createLink(symlinked) } def "#desc can handle symlinks"() { expect: fileCollection.contains(file)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 11:15:22 UTC 2023 - 2.4K bytes - Viewed (0) -
cmd/os_windows.go
var typ os.FileMode // regular file switch { case data.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0: // Reparse point is a symlink fi, err := os.Stat(pathJoin(dirPath, name)) if err != nil { // It got deleted in the meantime, not found // or returns too many symlinks ignore this // file/directory. if osIsNotExist(err) || isSysErrPathNotFound(err) || isSysErrTooManySymlinks(err) { continue
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SymlinkContinuousIntegrationTest.groovy
// the symlink is watched between builds. linkdir.file("existing").createFile() buildFile << """ task echo { def symlink = file("${symlink.toURI()}") inputs.files symlink inputs.files "src/linkdir/existing" outputs.file "build/outputs" doLast { println "text: " + (symlink.exists() ? symlink.text:"missing") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/tasks/DeleteTest.groovy
delete.getTargetFiles().getFiles() == getProject().files(delete.getDelete()).getFiles() } @Requires(UnitTestPreconditions.Symlinks) def "can follow symlinks"() { given: def keepTxt = temporaryFolder.createFile("originalDir", "keep.txt") def originalDir = keepTxt.getParentFile()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 11:15:22 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileMetadataAccessor.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:55 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileMetadata.java
* * If we have a symlink situation like `symlink1` -> `symlink2` -> `target`, * then the metadata for `symlink1` will have an access type {@link AccessType#VIA_SYMLINK} * and the metadata of `target`, i.e. the accessor will resolve transitive symlinks. * * If the directory `symlinkedDir` -> `targetDir` is a symlink, then the
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 2.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_goroot_symlink.txt
# Construct a fake GOROOT in $WORK/lib/goroot whose src directory is a symlink # to a subdirectory of $WORK/share. This mimics the directory structure reported # in https://go.dev/issue/57754. # # Symlink everything else to the original $GOROOT to avoid needless copying work. mkdir $WORK/lib/goroot mkdir $WORK/share/goroot symlink $WORK/share/goroot/src -> $GOROOT${/}src symlink $WORK/lib/goroot/src -> ../../share/goroot/src
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 17:01:07 UTC 2023 - 2.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverSpec.groovy
} @Requires(UnitTestPreconditions.Symlinks) def "normalizes path which points to a link to something that does not exist"() { def file = new File(tmpDir.testDirectory, 'a/other.txt') createLink(file, 'unknown.txt') assert !file.exists() && !file.file expect: normalize(file) == file } @Requires(UnitTestPreconditions.Symlinks)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 11:15:22 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemLocationSnapshot.java
* hierarchy containing a symlink, as we can't be sure if the snapshot would still be valid of * the relocated link. * * If performance around symlinks becomes more important, we can improve this in multiple ways: * - keep symlinks that don't point outside the relocated snapshot hierarchy, * - re-snapshot relocated locations pointed to by snapshots,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 18 15:09:45 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SupportedBuildJvmIntegrationTest.groovy
class SupportedBuildJvmIntegrationTest extends AbstractIntegrationSpec { @Requires(UnitTestPreconditions.Symlinks) def "can start Gradle with a JDK that contains symlinks"() { // Zulu sets their Java distribution up like this def installedJdk = Jvm.current().javaHome def symlinkedJdk = file("symlink-jdk") installedJdk.listFiles().each { symlinkedJdk.file(it.name).createLink(it) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.9K bytes - Viewed (0)