Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 385 for symlink2 (0.12 sec)

  1. 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)
  2. 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)
  3. pkg/kubelet/config/file_linux_test.go

    	}
    )
    
    func TestWatchFileAdded(t *testing.T) {
    	for _, testCase := range testCases {
    		watchFileAdded(testCase.watchDir, testCase.symlink, t)
    	}
    }
    
    func TestWatchFileChanged(t *testing.T) {
    	for _, testCase := range testCases {
    		watchFileChanged(testCase.watchDir, testCase.symlink, testCase.period, t)
    	}
    }
    
    type testCase struct {
    	lock     *sync.Mutex
    	desc     string
    	pod      runtime.Object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 09:38:23 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  4. 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)
  5. src/os/dir.go

    		fpath, err := filepathlite.Localize(path)
    		if err != nil {
    			return err
    		}
    		newPath := joinPath(dir, fpath)
    		if d.IsDir() {
    			return MkdirAll(newPath, 0777)
    		}
    
    		// TODO(panjf2000): handle symlinks with the help of fs.ReadLinkFS
    		// 		once https://go.dev/issue/49580 is done.
    		//		we also need filepathlite.IsLocal from https://go.dev/cl/564295.
    		if !d.Type().IsRegular() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/file/delete/DeleteSpecInternal.java

        /**
         * @return the paths to be deleted.
         */
        Object[] getPaths();
    
        /**
         * Returns whether or not deletion will follow symlinks.
         *
         * @return whether or not deletion follows symlinks.
         */
        boolean isFollowSymlinks();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 1.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileMetadataAccessor.java

         * {@link org.gradle.internal.file.FileType#Missing}.
         * <p>
         * Such cases include:
         * <ul>
         *     <li>actual missing files</li>
         *     <li>broken symlinks</li>
         *     <li>circular symlinks</li>
         *     <li>named pipes</li>
         * </ul>
         */
        FileMetadata stat(File f);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteIntegrationTest.groovy

        private TestFile keep
        private TestFile subject
        private TestFile remove
        private TestFile link
    
        def setup() {
            NativeServicesTestFixture.initialize();
        }
    
        def "will not follow symlinks"() {
            given:
            setupSymlinks()
    
            and:
            buildFile << '''
                task delete(type: Delete) {
                    delete 'test/subject'
                    followSymlinks = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 20 17:44:25 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  9. 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)
  10. pkg/volume/util/subpath/subpath.go

    	// symlinks. Note that the function makes sure that it creates the directory
    	// somewhere under the base, nothing else. E.g. if the directory already
    	// exists, it may exist outside of the base due to symlinks.
    	// This method should be used if the directory to create is inside volume
    	// that's under user control. User must not be able to use symlinks to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 27 02:59:53 UTC 2019
    - 3.3K bytes
    - Viewed (0)
Back to top