Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 168 for symlinks (0.17 sec)

  1. 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)
  2. 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)
  3. .teamcity/mvnw

      if [ -r /etc/gentoo-release ] ; then
        JAVA_HOME=`java-config --jre-home`
      fi
    fi
    
    if [ -z "$M2_HOME" ] ; then
      ## resolve links - $0 may be a link to maven's home
      PRG="$0"
    
      # need this for relative symlinks
      while [ -h "$PRG" ] ; do
        ls=`ls -ld "$PRG"`
        link=`expr "$ls" : '.*-> \(.*\)$'`
        if expr "$link" : '/.*' > /dev/null; then
          PRG="$link"
        else
          PRG="`dirname "$PRG"`/$link"
        fi
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/go/internal/fsys/fsys.go

    			continue
    		}
    		if fi.Mode().IsRegular() {
    			return true, nil
    		}
    
    		// fi is the result of an Lstat, so it doesn't follow symlinks.
    		// But it's okay if the file is a symlink pointing to a regular
    		// file, so use os.Stat to follow symlinks and check that.
    		actualFilePath, _ := OverlayPath(filepath.Join(dir, fi.Name()))
    		fi, err := os.Stat(actualFilePath)
    		if err == nil && fi.Mode().IsRegular() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt

    #
    ##############################################################################
    
    # Attempt to set APP_HOME
    
    # Resolve links: \$0 may be a link
    app_path=\$0
    
    # Need this for daisy-chained symlinks.
    while
        APP_HOME=\${app_path%"\${app_path##*/}"}  # leaves a trailing /; empty if no leading path
        [ -h "\$app_path" ]
    do
        ls=\$( ls -ld "\$app_path" )
        link=\${ls#*' -> '}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 13:43:33 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. pkg/volume/util/subpath/subpath_linux_test.go

    					return err
    				}
    				return os.Symlink("dir1", filepath.Join(base, "dir1/dir2/test"))
    			},
    			"test",
    			true,
    		},
    		{
    			"symlink-loop",
    			func(base string) error {
    				return os.Symlink("test", filepath.Join(base, "test"))
    			},
    			"test",
    			true,
    		},
    		{
    			"symlink-not-exists",
    			func(base string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
  8. 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)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy

            when:
            run "copy"
            then:
            file("build/tmp/testchild").mode == mode
            where:
            mode << [0755, 0776]
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "symlinked file permissions are preserved in copy action"() {
            given:
            def mode = 0746
            def testSourceFile = file(testFileName)
            testSourceFile << "test file content"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 20K bytes
    - Viewed (0)
  10. src/net/http/fs.go

    // by [filepath.Separator], which isn't necessarily '/'.
    //
    // Note that Dir could expose sensitive files and directories. Dir will follow
    // symlinks pointing out of the directory tree, which can be especially dangerous
    // if serving from a directory in which users are able to create arbitrary symlinks.
    // Dir will also allow access to files and directories starting with a period,
    // which could expose sensitive directories like .git or sensitive files like
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top