Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Symlink (0.12 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. 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)
  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. 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. 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)
  8. 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)
  9. 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)
  10. .bazelrc

    build:windows --host_copt=-D_ENABLE_EXTENDED_ALIGNED_STORAGE
    
    # Enable the runfiles symlink tree on Windows. This makes it possible to build
    # the pip package on Windows without an intermediate data-file archive, as the
    # build_pip_package script in its current form (as of Aug 2023) uses the
    # runfiles symlink tree to decide what to put into the Python wheel.
    startup --windows_enable_symlinks
    build:windows --enable_runfiles
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top