Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 162 for symlink2 (0.21 sec)

  1. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/impl/DefaultDeleter.java

            StringBuilder help = new StringBuilder("Unable to delete ");
            if (isSymlink.test(file)) {
                help.append("symlink to ");
            }
            if (file.isDirectory()) {
                help.append("directory ");
            } else {
                help.append("file ");
            }
            help.append('\'').append(file).append('\'');
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:10:06 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/fsys/fsys_test.go

    	}
    }
    
    func TestWalkSymlink(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    
    	initOverlay(t, `{
    	"Replace": {"overlay_symlink/file": "symlink/file"}
    }
    -- dir/file --`)
    
    	// Create symlink
    	if err := os.Symlink("dir", "symlink"); err != nil {
    		t.Error(err)
    	}
    
    	testCases := []struct {
    		name      string
    		dir       string
    		wantFiles []string
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:52:11 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  3. 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)
  4. src/os/file_unix.go

    	}
    	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 {
    	e := ignoringEINTR(func() error {
    		return syscall.Symlink(oldname, newname)
    	})
    	if e != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. src/internal/testenv/testenv.go

    // HasSymlink reports whether the current system can use os.Symlink.
    func HasSymlink() bool {
    	ok, _ := hasSymlink()
    	return ok
    }
    
    // MustHaveSymlink reports whether the current system can use os.Symlink.
    // If not, MustHaveSymlink calls t.Skip with an explanation.
    func MustHaveSymlink(t testing.TB) {
    	ok, reason := hasSymlink()
    	if !ok {
    		t.Skipf("skipping test: cannot make symlinks on %s/%s: %s", runtime.GOOS, runtime.GOARCH, reason)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/os/file_plan9.go

    }
    
    // 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 {
    	return &LinkError{"symlink", oldname, newname, syscall.EPLAN9}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_block.go

    Mapping and unmapping of a device in a publish path to its global map path and its
    pod device map path are done by operation_executor through MapBlockVolume/UnmapBlockVolume
    (MapBlockVolume and UnmapBlockVolume take care for lock, symlink, and bind mount).
    
    Summary of block volume related CSI driver's methods are as follows:
     - GetGlobalMapPath returns a global map path,
     - GetPodDeviceMapPath returns a pod device map path and filename,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/gccgo.go

    		f, _ = fsys.OverlayPath(f)
    		args = append(args, f)
    	}
    
    	output, err = sh.runOut(p.Dir, nil, args)
    	return ofile, output, err
    }
    
    // buildImportcfgSymlinks builds in root a tree of symlinks
    // implementing the directives from importcfg.
    // This serves as a temporary transition mechanism until
    // we can depend on gccgo reading an importcfg directly.
    // (The Go 1.9 and later gc compilers already do.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/README

    stop [msg]
    	stop execution of the script
    
    	The message is written to the script log, but no error is
    	reported from the script engine.
    
    symlink path -> target
    	create a symlink
    
    	Creates path as a symlink to target.
    	The '->' token (like in 'ls -l' output on Unix) is required.
    
    wait 
    	wait for completion of background commands
    
    	Waits for all background commands to complete.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. pkg/volume/util/volumepathhandler/volume_path_handler.go

    	GetDeviceBindMountRefs(devPath string, mapPath string) ([]string, error)
    	// FindGlobalMapPathUUIDFromPod finds {pod uuid} symbolic link under globalMapPath
    	// corresponding to map path symlink, and then return global map path with pod uuid.
    	FindGlobalMapPathUUIDFromPod(pluginDir, mapPath string, podUID types.UID) (string, error)
    	// AttachFileDevice takes a path to a regular file and makes it available as an
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top