Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 385 for symlink1 (0.14 sec)

  1. src/cmd/go/testdata/script/mod_find.txt

    stderr '^go: go.mod file not found in current directory or any parent directory; see ''go help modules''$'
    
    [!symlink] stop
    
    # gplink1/src/empty where gopathlink -> GOPATH
    symlink $WORK/gopathlink -> gopath
    cd $WORK/gopathlink/src/empty
    go mod init
    rm go.mod
    
    # GOPATH/src/link where link -> out of GOPATH
    symlink $GOPATH/src/link -> $WORK/empty
    cd $WORK/empty
    ! go mod init
    cd $GOPATH/src/link
    go mod init
    stderr link
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:14 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. cmd/os_other.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 fi.IsDir() {
    					continue
    				}
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. pkg/volume/util/volumepathhandler/volume_path_handler_linux.go

    }
    
    // FindGlobalMapPathUUIDFromPod finds {pod uuid} bind mount under globalMapPath
    // corresponding to map path symlink, and then return global map path with pod uuid.
    // (See pkg/volume/volume.go for details on a global map path and a pod device map path.)
    // ex. mapPath symlink: pods/{podUid}}/{DefaultKubeletVolumeDevicesDirName}/{escapeQualifiedPluginName}/{volumeName} -> /dev/sdX
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. pkg/kubelet/container/testing/os.go

    	if f.MkdirAllFn != nil {
    		return f.MkdirAllFn(path, perm)
    	}
    	return nil
    }
    
    // Symlink is a fake call that just returns nil.
    func (f *FakeOS) Symlink(oldname string, newname string) error {
    	if f.SymlinkFn != nil {
    		return f.SymlinkFn(oldname, newname)
    	}
    	return nil
    }
    
    // Stat is a fake that returns an error
    func (f *FakeOS) Stat(path string) (os.FileInfo, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 13:37:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SupportedBuildJvmIntegrationTest.groovy

    class SupportedBuildJvmIntegrationTest extends AbstractIntegrationSpec {
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "can start Gradle with a JDK that contains symlinks"() {
            // Zulu sets their Java distribution up like this
            def installedJdk = Jvm.current().javaHome
            def symlinkedJdk = file("symlink-jdk")
            installedJdk.listFiles().each {
                symlinkedJdk.file(it.name).createLink(it)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. pkg/volume/volume_linux.go

    		klog.ErrorS(err, "Lchown failed", "path", filename)
    	}
    
    	// chmod passes through to the underlying file for symlinks.
    	// Symlinks have a mode of 777 but this really doesn't mean anything.
    	// The permissions of the underlying file are what matter.
    	// However, if one reads the mode of a symlink then chmods the symlink
    	// with that mode, it changes the mode of the underlying file, overridden
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. src/os/stat_windows.go

    		// (per https://pubs.opengroup.org/onlinepubs/9699919799.2013edition/basedefs/V1_chap04.html#tag_04_12):
    		// symlinks before the last separator in the path must be resolved. Since
    		// the last separator in this case follows the last path element, we should
    		// follow symlinks in the last path element.
    		followSurrogates = true
    	}
    	return stat("Lstat", name, followSurrogates)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/LinuxInstallationSupplierTest.groovy

            directories*.source.unique() == ["Common Linux Locations"]
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "supplies installations with symlinked candidate"() {
            given:
            def otherLocation = temporaryFolder.createDir("other")
            candidates.createDir("14-real")
            candidates.file("symlinked").createLink(otherLocation.canonicalFile)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/os/file_windows.go

    		return &LinkError{"link", oldname, newname, err}
    	}
    	return nil
    }
    
    // Symlink creates newname as a symbolic link to oldname.
    // On Windows, a symlink to a non-existent oldname creates a file symlink;
    // if oldname is later created as a directory the symlink will not work.
    // If there is an error, it will be of type *LinkError.
    func Symlink(oldname, newname string) error {
    	// '/' does not work in link's content
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/os/os_windows_test.go

    		}
    		var wantType fs.FileMode
    		if test.isMountPoint && winsymlink.Value() != "0" {
    			// Mount points are reparse points, and we no longer treat them as symlinks.
    			wantType = fs.ModeIrregular
    		} else {
    			// This is either a real symlink, or a mount point treated as a symlink.
    			wantType = fs.ModeSymlink
    		}
    		if tp := fi2.Mode().Type(); tp != wantType {
    			t.Errorf("Lstat(%q) is type %v; want %v", link, tp, wantType)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top