Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 385 for symlink2 (0.41 sec)

  1. src/syscall/syscall_linux_test.go

    	}
    
    	err = os.Symlink("file1", "symlink1")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	err = syscall.Faccessat(_AT_FDCWD, "symlink1", _R_OK, _AT_SYMLINK_NOFOLLOW)
    	if err != nil {
    		t.Errorf("Faccessat SYMLINK_NOFOLLOW: unexpected error %v", err)
    	}
    
    	// We can't really test _AT_SYMLINK_NOFOLLOW, because there
    	// doesn't seem to be any way to change the mode of a symlink.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. cmd/os_unix.go

    			if err != nil {
    				// It got deleted in the meantime, not found
    				// or returns too many symlinks ignore this
    				// file/directory.
    				if osIsNotExist(err) || isSysErrPathNotFound(err) ||
    					isSysErrTooManySymlinks(err) {
    					continue
    				}
    				return err
    			}
    
    			// Ignore symlinked directories.
    			if typ&os.ModeSymlink == os.ModeSymlink && fi.IsDir() {
    				continue
    			}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/version/version.go

    func scanFile(file string, info fs.FileInfo, mustPrint bool) {
    	if info.Mode()&fs.ModeSymlink != 0 {
    		// Accept file symlinks only.
    		i, err := os.Stat(file)
    		if err != nil || !i.Mode().IsRegular() {
    			if mustPrint {
    				fmt.Fprintf(os.Stderr, "%s: symlink\n", file)
    			}
    			return
    		}
    		info = i
    	}
    
    	bi, err := buildinfo.ReadFile(file)
    	if err != nil {
    		if mustPrint {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 19:27:00 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    						// Hence the symlink may be deemed unhealthy during that period.
    						// See https://github.com/kubernetes/kubernetes/issues/52172
    						//
    						// We only remove unhealthy symlink for dead containers
    						klog.V(5).InfoS("Container is still running, not removing symlink", "containerID", containerID, "path", logSymlink)
    						continue
    					}
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

        }
    
        @ToBeImplemented("When we support symlinks in the VFS, we should implement this as well")
        @Requires(UnitTestPreconditions.Symlinks)
        def "a task that writes into a symlink that overlaps with output of currently running task is not started"() {
            given:
            def taskOutput = file("outputDir").createDir()
            def symlink = file("symlink")
            symlink.createLink(taskOutput)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ArchiveTaskPermissionsIntegrationTest.groovy

            where:
            taskName | packMethod | treeMethod
            "Zip"    | "zipTo"    | "zipTree"
            "Tar"    | "tarTo"    | "tarTree"
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "symlinked file permissions are preserved when using #taskName task"() {
            given:
            createDir('parent') {
                mode = 0777
                file('reference.txt').mode = 0746
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 06:18:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/FileSystemServices.java

                final Symlink symlink = createWindowsJdkSymlink();
                return genericFileSystemFactory.create(new EmptyChmod(), new FallbackStat(), symlink);
            }
    
            if (posixFiles instanceof UnavailablePosixFiles) {
                LOGGER.debug("Native-platform file system integration is not available. Continuing with fallback.");
            } else {
                Symlink symlink = new NativePlatformBackedSymlink(posixFiles);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/GenericFileSystem.java

        private final FileModeMutator chmod;
        private final FileModeAccessor stat;
        private final Symlink symlink;
        private final FileMetadataAccessor metadata;
        private final StatStatistics.Collector statisticsCollector;
    
        public GenericFileSystem(
            FileModeMutator chmod,
            FileModeAccessor stat,
            Symlink symlink,
            FileMetadataAccessor metadata,
            StatStatistics.Collector statisticsCollector,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/os/os_test.go

    				t.Fatalf("Chtimes failed: %v", err)
    			}
    			names := []string{"bar.txt"}
    			if testenv.HasSymlink() {
    				if err := Symlink(sizedTempDir+"/bar.txt", sizedTempDir+"/symlink.txt"); err != nil {
    					t.Fatalf("Symlink failed: %v", err)
    				}
    				names = append(names, "symlink.txt")
    			}
    			if testenv.HasLink() {
    				if err := Link(sizedTempDir+"/bar.txt", sizedTempDir+"/link.txt"); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/list_symlink_issue35941.txt

    [!symlink] skip
    env GO111MODULE=off
    
    # Issue 35941: suppress symlink warnings when running 'go list all'.
    symlink goproj/css -> $GOPATH/src/css
    
    go list all
    ! stderr 'warning: ignoring symlink'
    
    # Show symlink warnings when patterns contain '...'.
    go list goproj/...
    stderr 'warning: ignoring symlink'
    
    -- goproj/a.go --
    package a
    
    -- css/index.css --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 27 18:17:01 UTC 2021
    - 360 bytes
    - Viewed (0)
Back to top