Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 153 for symlinks (0.27 sec)

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

    [!symlink] skip
    env GO111MODULE=off
    
    mkdir $WORK/tmp/gopath/src/x/y/_vendor/src/x
    symlink $WORK/tmp/gopath/src/x/y/_vendor/src/x/y -> ../../..
    mkdir $WORK/tmp/gopath/src/x/y/_vendor/src/x/y/w
    cp w.go $WORK/tmp/gopath/src/x/y/w/w.go
    symlink $WORK/tmp/gopath/src/x/y/w/vendor -> ../_vendor/src
    mkdir $WORK/tmp/gopath/src/x/y/_vendor/src/x/y/z
    cp z.go $WORK/tmp/gopath/src/x/y/z/z.go
    
    env GOPATH=$WORK/tmp/gopath/src/x/y/_vendor${:}$WORK/tmp/gopath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 543 bytes
    - Viewed (0)
  2. src/os/stat_test.go

    	if fi.Mode()&fs.ModeSymlink != 0 {
    		t.Errorf("%q should not be a symlink", path)
    	}
    }
    
    // testIsSymlink verifies that fi refers to symlink.
    func testIsSymlink(t *testing.T, path string, fi fs.FileInfo) {
    	t.Helper()
    	if fi.IsDir() {
    		t.Errorf("%q should not be a directory", path)
    	}
    	if fi.Mode()&fs.ModeSymlink == 0 {
    		t.Errorf("%q should be a symlink", path)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:38:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/install_move_not_stale.txt

    # even when it's been moved to a different directory.
    # Simulate that by creating a symlink to the tree.
    
    # We use net instead of std because stale std has
    # the behavior of checking that all std targets
    # are stale rather than any of them.
    
    [!symlink] skip
    [short] skip
    
    go build net
    ! stale net
    
    symlink new -> $GOROOT
    env OLDGOROOT=$GOROOT
    env GOROOT=$WORK${/}gopath${/}src${/}new
    go env GOROOT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:51:12 UTC 2022
    - 625 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/list_symlink_vendor_issue14054.txt

    [!symlink] skip
    env GO111MODULE=off
    
    mkdir $WORK/tmp/gopath/src/dir1/vendor/v
    cp p.go $WORK/tmp/gopath/src/dir1/p.go
    cp v.go $WORK/tmp/gopath/src/dir1/vendor/v/v.go
    symlink $WORK/tmp/symdir1 -> $WORK/tmp/gopath/src/dir1
    env GOPATH=$WORK/tmp/gopath
    cd $WORK/tmp/symdir1
    
    go list -f '{{.Root}}' .
    stdout '^'$WORK/tmp/gopath'$'
    
    # All of these should succeed, not die in vendor-handling code.
    go run p.go &
    go build &
    go install &
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 511 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/list_symlink.txt

    [!symlink] skip
    env GO111MODULE=off
    
    mkdir $WORK/tmp/src
    symlink $WORK/tmp/src/dir1 -> $WORK/tmp
    cp p.go $WORK/tmp/src/dir1/p.go
    env GOPATH=$WORK/tmp
    go list -f '{{.Root}}' dir1
    stdout '^'$WORK/tmp'$'
    
    -- p.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 223 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/list_symlink_internal.txt

    [!symlink] skip
    env GO111MODULE=off
    
    mkdir $WORK/tmp/gopath/src/dir1/internal/v
    cp p.go $WORK/tmp/gopath/src/dir1/p.go
    cp v.go $WORK/tmp/gopath/src/dir1/internal/v/v.go
    symlink $WORK/tmp/symdir1 -> $WORK/tmp/gopath/src/dir1
    env GOPATH=$WORK/tmp/gopath
    cd $WORK/tmp/symdir1
    go list -f '{{.Root}}' .
    stdout '^'$WORK/tmp/gopath'$'
    
    # All of these should succeed, not die in internal-handling code.
    go run p.go &
    go build &
    go install &
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 529 bytes
    - Viewed (0)
  7. pkg/kubelet/container/os.go

    // MkdirAll will call os.MkdirAll to create a directory.
    func (RealOS) MkdirAll(path string, perm os.FileMode) error {
    	return os.MkdirAll(path, perm)
    }
    
    // Symlink will call os.Symlink to create a symbolic link.
    func (RealOS) Symlink(oldname string, newname string) error {
    	return os.Symlink(oldname, newname)
    }
    
    // Stat will call os.Stat to get the FileInfo for a given path
    func (RealOS) Stat(path string) (os.FileInfo, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  8. src/os/executable.go

    // Executable returns the path name for the executable that started
    // the current process. There is no guarantee that the path is still
    // pointing to the correct executable. If a symlink was used to start
    // the process, depending on the operating system, the result might
    // be the symlink or the path it pointed to. If a stable result is
    // needed, [path/filepath.EvalSymlinks] might help.
    //
    // Executable returns an absolute path unless an error occurred.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 776 bytes
    - Viewed (0)
  9. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/NativePlatformBackedFileMetadataAccessor.java

            }
            AccessType accessType = AccessType.viaSymlink(stat.getType() == FileInfo.Type.Symlink);
            if (accessType == AccessType.VIA_SYMLINK) {
                try {
                    stat = files.stat(f, true);
                } catch (NativeException e) {
                    // For a symlink cycle, file.exists() returns false when unable to stat the file.
                    if (!f.exists()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/FileSystem.java

         * @exception FileException if the operation fails
         */
        void createSymbolicLink(File link, File target) throws FileException;
    
        /**
         * Tells if the file is a symlink
         *
         * @param suspect the file to check
         * @return true if symlink, false otherwise
         */
        boolean isSymlink(File suspect);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top