Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for isSymlink (0.07 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. 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...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Dec 01 20:16:26 UTC 2015
    - 10K 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. 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)
  6. 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)
  7. 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)
  8. 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)
  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. 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)
Back to top