Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 136 for symlinks (0.21 sec)

  1. 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)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotter.java

            this.collector = collector;
        }
    
        /**
         * Snapshots a directory, reusing existing previously known snapshots.
         *
         * Follows symlinks and includes them in the returned snapshot.
         * Snapshots of followed symlinks are marked with {@link AccessType#VIA_SYMLINK}.
         *
         * @param absolutePath The absolute path of the directory to snapshot.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  3. pkg/volume/util/hostutil/hostutil_linux.go

    func (hu *HostUtil) PathExists(pathname string) (bool, error) {
    	return utilpath.Exists(utilpath.CheckFollowSymlink, pathname)
    }
    
    // EvalHostSymlinks returns the path name after evaluating symlinks.
    // TODO once the nsenter implementation is removed, this method can be removed
    // from the interface and filepath.EvalSymlinks used directly
    func (hu *HostUtil) EvalHostSymlinks(pathname string) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 08:36:44 UTC 2023
    - 10K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

            exception.message == "Found existing snapshot at '${fileInWatchableHierarchy.absolutePath}' for unwatched hierarchy '${watchableHierarchy.absolutePath}'"
        }
    
        def "does not watch symlinks and removes symlinks at the end of the build"() {
            def watchableHierarchy = file("watchable").createDir()
            def symlinkInWatchableHierarchy = watchableHierarchy.file("some/dir/file.txt").createFile()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/InitScriptApi.kt

         */
        @Suppress("unused")
        fun mkdir(path: Any): File =
            fileOperations.mkdir(path)
    
        /**
         * Deletes files and directories.
         *
         * This will not follow symlinks. If you need to follow symlinks too use [KotlinInitScript.delete].
         *
         * @param paths Any type of object accepted by [KotlinInitScript.file]
         * @return true if anything got deleted, false otherwise
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinScript.kt

         */
        fun mkdir(path: Any): File
    
        /**
         * Deletes files and directories.
         *
         * This will not follow symlinks. If you need to follow symlinks too use [delete].
         *
         * @param paths Any type of object accepted by [file]
         * @return true if anything got deleted, false otherwise
         */
        fun delete(vararg paths: Any): Boolean
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/SettingsScriptApi.kt

         */
        @Suppress("unused")
        fun mkdir(path: Any): File =
            fileOperations.mkdir(path)
    
        /**
         * Deletes files and directories.
         *
         * This will not follow symlinks. If you need to follow symlinks too use [delete].
         *
         * @param paths Any type of object accepted by [file]
         * @return true if anything got deleted, false otherwise
         */
        @Suppress("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. doc/godebug.md

    set, and reparse points that are not symlinks, Unix sockets, or dedup files now
    always have [`os.ModeIrregular`](/pkg/os#ModeIrregular) set. As a result of these changes,
    [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) no longer evaluates
    mount points, which was a source of many inconsistencies and bugs.
    At previous versions (`winsymlink=0`), mount points are treated as symlinks,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/WatchableHierarchies.java

            SnapshotHierarchy newRoot = root;
            // We are not being notified about changes to content accessed via symlinks
            newRoot = removeIndirectlySymlinkedRoots(newRoot, invalidator);
            newRoot = removeDirectSymlinks(newRoot, invalidator);
            return newRoot;
        }
    
        @CheckReturnValue
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:02:39 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top