Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for isSymlink (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. internal/mountinfo/mountinfo_linux.go

    )
    
    // IsLikelyMountPoint determines if a directory is a mountpoint.
    func IsLikelyMountPoint(path string) bool {
    	s1, err := os.Lstat(path)
    	if err != nil {
    		return false
    	}
    
    	// A symlink can never be a mount point
    	if s1.Mode()&os.ModeSymlink != 0 {
    		return false
    	}
    
    	s2, err := os.Lstat(filepath.Dir(strings.TrimSuffix(path, "/")))
    	if err != nil {
    		return false
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. lib/wasm/wasm_exec.js

    			readlink(path, callback) { callback(enosys()); },
    			rename(from, to, callback) { callback(enosys()); },
    			rmdir(path, callback) { callback(enosys()); },
    			stat(path, callback) { callback(enosys()); },
    			symlink(path, link, callback) { callback(enosys()); },
    			truncate(path, length, callback) { callback(enosys()); },
    			unlink(path, callback) { callback(enosys()); },
    			utimes(path, atime, mtime, callback) { callback(enosys()); },
    		};
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/MoreFiles.java

          // even for non-root files.
          return;
        }
    
        // Check if the parent is a directory first because createDirectories will fail if the parent
        // exists and is a symlink to a directory... we'd like for this to succeed in that case.
        // (I'm kind of surprised that createDirectories would fail in that case; doesn't seem like
        // what you'd want to happen.)
        if (!Files.isDirectory(parent)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/MoreFiles.java

          // even for non-root files.
          return;
        }
    
        // Check if the parent is a directory first because createDirectories will fail if the parent
        // exists and is a symlink to a directory... we'd like for this to succeed in that case.
        // (I'm kind of surprised that createDirectories would fail in that case; doesn't seem like
        // what you'd want to happen.)
        if (!Files.isDirectory(parent)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top