Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 129 for symlink2 (1.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningSamplesSpec.groovy

            def projectDir = sample.dir.file(dsl)
            def symlink = GpgCmdFixture.setupGpgCmd(projectDir)
    
            when:
            inDirectory(projectDir)
    
            and:
            run "signRuntimeElements"
    
            then:
            projectDir.file("build/libs/gnupg-signatory-1.0.jar.asc").assertExists()
    
            cleanup:
            GpgCmdFixture.cleanupGpgCmd(symlink)
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/shell.go

    		if err2 := os.RemoveAll(path); err2 != nil && err == nil {
    			err = err2
    		}
    	}
    	return err
    }
    
    // Symlink creates a symlink newname -> oldname.
    func (sh *Shell) Symlink(oldname, newname string) error {
    	// It's not an error to try to recreate an existing symlink.
    	if link, err := os.Readlink(newname); err == nil && link == oldname {
    		return nil
    	}
    
    	if cfg.BuildN || cfg.BuildX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/internal/script/cmds.go

    	if s.msg == "" {
    		return "stop"
    	}
    	return "stop: " + s.msg
    }
    
    // Symlink creates a symbolic link.
    func Symlink() Cmd {
    	return Command(
    		CmdUsage{
    			Summary: "create a symlink",
    			Args:    "path -> target",
    			Detail: []string{
    				"Creates path as a symlink to target.",
    				"The '->' token (like in 'ls -l' output on Unix) is required.",
    			},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_netbsd.go

    //sysnb	Setuid(uid int) (err error)
    //sys	Stat(path string, stat *Stat_t) (err error)
    //sys	Statvfs1(path string, buf *Statvfs_t, flags int) (err error) = SYS_STATVFS1
    //sys	Symlink(path string, link string) (err error)
    //sys	Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
    //sys	Sync() (err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Umask(newmask int) (oldmask int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 12.3K bytes
    - Viewed (0)
Back to top