Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 385 for symlink2 (0.16 sec)

  1. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectoryTest.groovy

            new File(installedJdk, "jdk-123/file").exists()
        }
    
        @Ignore
        def "provisions jdk from tar.gz archive with MacOS symlinks"() {
            def jdkArchive = resources.getResource("jdk-with-symlinks.tar.gz")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 06:41:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/os/file_unix.go

    	}
    	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 {
    	e := ignoringEINTR(func() error {
    		return syscall.Symlink(oldname, newname)
    	})
    	if e != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. src/internal/testenv/testenv.go

    // HasSymlink reports whether the current system can use os.Symlink.
    func HasSymlink() bool {
    	ok, _ := hasSymlink()
    	return ok
    }
    
    // MustHaveSymlink reports whether the current system can use os.Symlink.
    // If not, MustHaveSymlink calls t.Skip with an explanation.
    func MustHaveSymlink(t testing.TB) {
    	ok, reason := hasSymlink()
    	if !ok {
    		t.Skipf("skipping test: cannot make symlinks on %s/%s: %s", runtime.GOOS, runtime.GOARCH, reason)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. src/os/file_plan9.go

    }
    
    // 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 {
    	return &LinkError{"symlink", oldname, newname, syscall.EPLAN9}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileModeAccessor.java

     * limitations under the License.
     */
    
    package org.gradle.internal.file;
    
    import java.io.File;
    
    public interface FileModeAccessor {
        /**
         * @param f The file to get the mode for. Note that all symlinks are followed.
         * @return The unix mode of the file
         */
        int getUnixMode(File f) throws Exception;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 898 bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/HandleStaleOutputsStepTest.groovy

            "missing file owned by but not generated by build"   | false     | true         | false             | {}
            "symlink owned by but not generated by build"        | true      | true         | false             | { it.createLink(it.parentFile.createFile("existing.txt")) }
            "broken symlink owned by but not generated by build" | true      | true         | false             | { it.createLink(it.parentFile.file("missing.txt")) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. cmd/os-readdir-common.go

    package cmd
    
    // Options for readDir function call
    type readDirOpts struct {
    	// The maximum number of entries to return
    	count int
    	// Follow directory symlink
    	followDirSymlink bool
    }
    
    // Return all the entries at the directory dirPath.
    func readDir(dirPath string) (entries []string, err error) {
    	return readDirWithOpts(dirPath, readDirOpts{count: -1})
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jul 09 23:20:51 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  8. src/internal/syscall/windows/symlink_windows.go

    package windows
    
    import "syscall"
    
    const (
    	ERROR_INVALID_PARAMETER syscall.Errno = 87
    
    	FILE_SUPPORTS_OBJECT_IDS      = 0x00010000
    	FILE_SUPPORTS_OPEN_BY_FILE_ID = 0x01000000
    
    	// symlink support for CreateSymbolicLink() starting with Windows 10 (1703, v10.0.14972)
    	SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE = 0x2
    
    	// FileInformationClass values
    	FileBasicInfo                  = 0    // FILE_BASIC_INFO
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 19:06:55 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/file/DeleteSpec.java

         */
        DeleteSpec delete(Object... files);
    
        /**
         * Specifies whether or not symbolic links should be followed during deletion.
         *
         * @param followSymlinks deletion will follow symlinks when true.
         */
        void setFollowSymlinks(boolean followSymlinks);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 01 02:14:13 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/base/env.go

    //
    // The resulting environment makes os.Getwd more efficient for a subprocess
    // running in dir, and also improves the accuracy of paths relative to dir
    // if one or more elements of dir is a symlink.
    func AppendPWD(base []string, dir string) []string {
    	// POSIX requires PWD to be absolute.
    	// Internally we only use absolute paths, so dir should already be absolute.
    	if !filepath.IsAbs(dir) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 16:40:59 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top