Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for isSymlink (0.08 sec)

  1. 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));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. android/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));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/setup.python.sh

    /setup.packages.sh pythons.txt
    
    # Re-link pyconfig.h from aarch64-linux-gnu into the devtoolset directory
    # for any Python version present
    pushd /usr/include/aarch64-linux-gnu
    for f in $(ls | grep python); do
      # set up symlink for devtoolset-10
      rm -f /dt10/usr/include/aarch64-linux-gnu/$f
      ln -s /usr/include/aarch64-linux-gnu/$f /dt10/usr/include/aarch64-linux-gnu/$f
    done
    popd
    
    # Python 3.10 include headers fix:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 01 12:56:16 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. docs/fr/docs/contributing.md

    //// tab | Linux, macOS
    
    <div class="termy">
    
    ```console
    $ flit install --deps develop --symlink
    
    ---> 100%
    ```
    
    </div>
    
    ////
    
    //// tab | Windows
    
    Si vous ĂȘtes sous Windows, utilisez `--pth-file` au lieu de `--symlink` :
    
    <div class="termy">
    
    ```console
    $ flit install --deps develop --pth-file
    
    ---> 100%
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. ci/official/containers/ml_build/setup.python.sh

    /setup.packages.sh pythons.txt
    
    # Re-link pyconfig.h from x86_64-linux-gnu into the devtoolset directory
    # for any Python version present
    pushd /usr/include/x86_64-linux-gnu
    for f in $(ls | grep python); do
      # set up symlink for devtoolset-9
      rm -f /dt9/usr/include/x86_64-linux-gnu/$f
      ln -s /usr/include/x86_64-linux-gnu/$f /dt9/usr/include/x86_64-linux-gnu/$f
    done
    popd
    
    # Python 3.10 include headers fix:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 23:34:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/archive/zip/writer_test.go

    		Method: Deflate,
    		Mode:   0755 | fs.ModeSetuid,
    	},
    	{
    		Name:   "setgid",
    		Data:   []byte("setgid file"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeSetgid,
    	},
    	{
    		Name:   "symlink",
    		Data:   []byte("../link/target"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeSymlink,
    	},
    	{
    		Name:   "device",
    		Data:   []byte("device file"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeDevice,
    	},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/ClassPathTest.java

                      .scanResources())
              .hasSize(1);
        } finally {
          jarFile.delete();
        }
      }
    
      @AndroidIncompatible // Path (for symlink creation)
    
      public void testScanDirectory_symlinkCycle() throws IOException {
        if (isWindows()) {
          return; // TODO: b/136041958 - Can we detect cycles under Windows?
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. cmd/service.go

    		if err == nil {
    			os.Exit(0)
    		}
    		return err
    	}
    
    	// Use the original binary location. This works with symlinks such that if
    	// the file it points to has been changed we will use the updated symlink.
    	argv0, err := exec.LookPath(os.Args[0])
    	if err != nil {
    		return err
    	}
    
    	// Invokes the execve system call.
    	// Re-uses the same pid. This preserves the pid over multiple server-respawns.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. configure.py

      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
    
    
    def write_to_bazelrc(line):
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
  10. cmd/sftp-server-driver.go

    	stopFn := globalSftpMetrics.log(r, f.AccessKey())
    	defer stopFn(0, err)
    
    	clnt, err := f.getMinIOClient()
    	if err != nil {
    		return err
    	}
    
    	switch r.Method {
    	case "Setstat", "Rename", "Link", "Symlink":
    		return sftp.ErrSSHFxOpUnsupported
    
    	case "Rmdir":
    		bucket, prefix := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			return errors.New("deleting all buckets not allowed")
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top