Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 385 for symlink2 (0.14 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemLeafSnapshotTest.groovy

            targetSnapshot.get().absolutePath == targetFile.absolutePath
            targetSnapshot.get().name == targetFile.name
            assertInterned(targetSnapshot.get())
        }
    
        def "snapshot accessed via symlink is not relocated"() {
            def sourceFile = temporaryFolder.file("source.txt")
            def targetFile = temporaryFolder.file("target.txt")
            def sourceSnapshot = createInitialRootNode(sourceFile.absolutePath, VIA_SYMLINK)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/preconditions/UnitTestPreconditions.groovy

    @CompileStatic
    class UnitTestPreconditions {
    
        static final class Symlinks implements TestPrecondition {
            @Override
            boolean isSatisfied() {
                return satisfied(MacOs) || satisfied(Linux)
            }
        }
    
        static final class NoSymlinks implements TestPrecondition {
            @Override
            boolean isSatisfied() {
                return notSatisfied(Symlinks)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/MoreFiles.java

            // advantages. (If OpenOptions were passed we can't, because Files.lines doesn't have an
            // overload taking OpenOptions, meaning we can't guarantee the same behavior w.r.t. things
            // like following/not following symlinks.)
            return new AsCharSource(charset) {
              @SuppressWarnings("FilesLinesLeak") // the user needs to close it in this case
              @Override
              public Stream<String> lines() throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  4. cmd/xl-storage-errors.go

    // Check if the given error corresponds to the ENAMETOOLONG (name too long).
    func isSysErrTooLong(err error) bool {
    	return errors.Is(err, syscall.ENAMETOOLONG)
    }
    
    // Check if the given error corresponds to the ELOOP (too many symlinks).
    func isSysErrTooManySymlinks(err error) bool {
    	return errors.Is(err, syscall.ELOOP)
    }
    
    // Check if the given error corresponds to ENOTEMPTY for unix,
    // EEXIST for solaris variants,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultOverlappingOutputDetector.java

                        if (relativePath.isRoot()) {
                            return false;
                        }
                        // Otherwise check for newly added broken symlinks and unreadable files
                        return hasNewContent(relativePath, missingSnapshot);
                    }
                });
                if (newContent) {
                    overlappingPath = snapshot.getAbsolutePath();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyErrorIntegrationTest.groovy

      - A Closure that returns any supported value.
      - A Callable that returns any supported value.
      - A Provider that provides any supported value.""")
        }
    
        @Test
        @Requires(UnitTestPreconditions.Symlinks)
        void reportsSymLinkWhichPointsToNothing() {
            TestFile link = testFile('src/file')
            link.createLink(testFile('missing'))
    
            Assert.assertFalse(link.isDirectory())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 10:48:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. src/testing/fstest/testfs_test.go

    	testenv.MustHaveSymlink(t)
    
    	tmp := t.TempDir()
    	tmpfs := os.DirFS(tmp)
    
    	if err := os.WriteFile(filepath.Join(tmp, "hello"), []byte("hello, world\n"), 0644); err != nil {
    		t.Fatal(err)
    	}
    
    	if err := os.Symlink(filepath.Join(tmp, "hello"), filepath.Join(tmp, "hello.link")); err != nil {
    		t.Fatal(err)
    	}
    
    	if err := TestFS(tmpfs, "hello", "hello.link"); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestDash(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy

            when:
            run "copy"
            then:
            file("build/tmp/testchild").mode == mode
            where:
            mode << [0755, 0776]
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "symlinked file permissions are preserved in copy action"() {
            given:
            def mode = 0746
            def testSourceFile = file(testFileName)
            testSourceFile << "test file content"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. docs/fr/docs/contributing.md

    === "Linux, macOS"
    
        <div class="termy">
    
        ```console
        $ flit install --deps develop --symlink
    
        ---> 100%
        ```
    
        </div>
    
    === "Windows"
    
        Si vous ĂȘtes sous Windows, utilisez `--pth-file` au lieu de `--symlink` :
    
        <div class="termy">
    
        ```console
        $ flit install --deps develop --pth-file
    
        ---> 100%
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 27 18:51:07 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  10. pkg/volume/util/atomic_writer_test.go

    			if err != nil && os.IsNotExist(err) {
    				t.Fatalf("%v: visible symlink does not exist: %v", tc.name, visiblePath)
    			} else if err != nil {
    				t.Fatalf("%v: unable to read symlink %v: %v", tc.name, dataDirPath, err)
    			}
    
    			if expectedDest != destination {
    				t.Fatalf("%v: symlink destination %q not same with expected data dir %q", tc.name, destination, expectedDest)
    			}
    		}
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top