Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for symlink (0.2 sec)

  1. src/archive/zip/testdata/symlink.zip

    symlink ../target...
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 173 bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh

    set -euxo pipefail
    
    # Run this from inside the tensorflow github directory.
    # Usage: setup_venv_test.sh venv_and_symlink_name "glob pattern for one wheel file"
    # Example: setup_venv_test.sh bazel_pip "/tf/pkg/*.whl"
    # 
    # This will create a venv with that wheel file installed in it, and a symlink
    # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the
    # "pip" tests.
    
    python -m venv /$1
    mkdir -p $1
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/MoreFilesTest.java

        try (FileSystem fs = newTestFileSystem(SECURE_DIRECTORY_STREAM)) {
          Path symlink = fs.getPath("/symlinktodir");
          Path dir = fs.getPath("dir");
    
          assertEquals(6, MoreFiles.listFiles(symlink).size());
    
          MoreFiles.deleteDirectoryContents(symlink);
    
          assertTrue(Files.exists(symlink, NOFOLLOW_LINKS));
          assertTrue(Files.exists(symlink));
          assertTrue(Files.exists(dir));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. 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)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  5. 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
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. src/archive/tar/testdata/hdr-only.tar

    fifo file The quick brown fox jumped over the lazy dog! hardlink null sda symlink badlink fifo The quick brown fox jumped over the lazy dog! hardlink sda symli badlink...
    TAR Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Dec 01 20:16:26 GMT 2015
    - 10K bytes
    - Viewed (1)
  7. 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.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 20:56:09 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. doc/next/3-tools.md

    Setting the `GOROOT_FINAL` environment variable no longer has an effect
    ([#62047](https://go.dev/issue/62047)).
    Distributions that install the `go` command to a location other than
    `$GOROOT/bin/go` should install a symlink instead of relocating
    or copying the `go` binary.
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Mar 14 16:58:10 GMT 2024
    - 339 bytes
    - Viewed (0)
  9. cmd/os-readdir-common.go

    package cmd
    
    // Options for readDir function call
    type readDirOpts struct {
    	// The maximum number of entries to return
    	count int
    	// Follow directory symlink
    	followDirSymlink bool
    }
    
    // Return all the entries at the directory dirPath.
    func readDir(dirPath string) (entries []string, err error) {
    	return readDirWithOpts(dirPath, readDirOpts{count: -1})
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Jul 09 23:20:51 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  10. configure.py

        answer = ''
      return answer
    
    
    def symlink_force(target, link_name):
      """Force symlink, equivalent of 'ln -sf'.
    
      Args:
        target: items to link to.
        link_name: name of the link.
      """
      try:
        os.symlink(target, link_name)
      except OSError as e:
        if e.errno == errno.EEXIST:
          os.remove(link_name)
          os.symlink(target, link_name)
        else:
          raise e
    
    
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top