Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for symlinks (0.18 sec)

  1. pkg/volume/util/atomic_writer.go

    //
    // The visible files in this volume are symlinks to files in the writer's data
    // directory.  Actual files are stored in a hidden timestamped directory which
    // is symlinked to by the data directory. The timestamped directory and
    // data directory symlink are created in the writer's target dir.  This scheme
    // allows the files to be atomically updated by changing the target of the
    // data directory symlink.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

                def symlink = new File(baseDir, "symlink")
                def symlinked = new File(baseDir, "symlinked")
                def fileCollection = $code
    
                assert fileCollection.contains(file)
                assert fileCollection.contains(symlink)
                assert fileCollection.contains(symlinked)
                assert fileCollection.files == [file, symlink, symlinked] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. 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)
  4. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectoryTest.groovy

            new File(installedJdk, "jdk-123/file").exists()
        }
    
        @Ignore
        def "provisions jdk from tar.gz archive with MacOS symlinks"() {
            def jdkArchive = resources.getResource("jdk-with-symlinks.tar.gz")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 06:41:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/os/types_windows.go

    	// that refer to directories, such as symlinks and mount points.
    	// However, we follow symlink POSIX semantics and do not set the mode bits.
    	// This allows users to walk directories without following links
    	// by just calling "fi, err := os.Lstat(name); err == nil && fi.IsDir()".
    	// Note that POSIX only defines the semantics for symlinks, not for
    	// mount points or other surrogate reparse points, but we treat them
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. testing/internal-testing/src/main/groovy/org/gradle/test/preconditions/UnitTestPreconditions.groovy

    @CompileStatic
    class UnitTestPreconditions {
    
        static final class Symlinks implements TestPrecondition {
            @Override
            boolean isSatisfied() {
                return satisfied(MacOs) || satisfied(Linux)
            }
        }
    
        static final class NoSymlinks implements TestPrecondition {
            @Override
            boolean isSatisfied() {
                return notSatisfied(Symlinks)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/execution/commandline/CommandLineIntegrationTest.groovy

            then:
            failure.error.contains('ERROR: JAVA_HOME is set to an invalid directory')
        }
    
        @Requires([UnitTestPreconditions.Symlinks, IntegTestPreconditions.NotEmbeddedExecutor])
        def "fails when java home not set and path does not contain java"() {
            when:
            def links = ['basename', 'dirname', 'uname', 'which', 'sed', 'sh', 'bash']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/controlplane/volumes.go

    	// On some systems where we host-mount /etc/ssl/certs, it is also required to mount additional directories.
    	// This is needed due to symlinks pointing from files in /etc/ssl/certs to these directories.
    	for _, caCertsExtraVolumePath := range caCertsExtraVolumePaths {
    		if isExtraVolumeMountNeeded(caCertsExtraVolumePath) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. src/os/file_windows.go

    		return &LinkError{"link", oldname, newname, err}
    	}
    	return nil
    }
    
    // Symlink creates newname as a symbolic link to oldname.
    // On Windows, a symlink to a non-existent oldname creates a file symlink;
    // if oldname is later created as a directory the symlink will not work.
    // If there is an error, it will be of type *LinkError.
    func Symlink(oldname, newname string) error {
    	// '/' does not work in link's content
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

            exception.message == "Found existing snapshot at '${fileInWatchableHierarchy.absolutePath}' for unwatched hierarchy '${watchableHierarchy.absolutePath}'"
        }
    
        def "does not watch symlinks and removes symlinks at the end of the build"() {
            def watchableHierarchy = file("watchable").createDir()
            def symlinkInWatchableHierarchy = watchableHierarchy.file("some/dir/file.txt").createFile()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top