Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 184 for sysdir (0.18 sec)

  1. src/internal/syscall/windows/sysdll/sysdll.go

    // license that can be found in the LICENSE file.
    
    //go:build windows
    
    // Package sysdll is an internal leaf package that records and reports
    // which Windows DLL names are used by Go itself. These DLLs are then
    // only loaded from the System32 directory. See Issue 14959.
    package sysdll
    
    // IsSystemDLL reports whether the named dll key (a base name, like
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 22:38:00 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  2. tools/bug-report/pkg/archive/archive.go

    }
    
    // Create creates a gzipped tar file from srcDir and writes it to outPath.
    func Create(srcDir, outPath string) error {
    	mw, err := os.Create(outPath)
    	if err != nil {
    		return err
    	}
    	defer mw.Close()
    	gzw := gzip.NewWriter(mw)
    	defer gzw.Close()
    
    	tw := tar.NewWriter(gzw)
    	defer tw.Close()
    
    	return filepath.Walk(srcDir, func(file string, fi os.FileInfo, err error) error {
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 30 00:10:16 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. pkg/volume/git_repo/git_repo.go

    		// Done!
    		volumeutil.SetReady(b.getMetaDir())
    		return nil
    	}
    
    	var subdir string
    
    	switch {
    	case len(b.target) != 0 && filepath.Clean(b.target) == ".":
    		// if target dir is '.', use the current dir
    		subdir = filepath.Join(dir)
    	case len(files) == 1:
    		// if target is not '.', use the generated folder
    		subdir = filepath.Join(dir, files[0].Name())
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modindex/scan.go

    	if !isDir(absdir) {
    		// package was not found
    		p.error = fmt.Errorf("cannot find package in:\n\t%s", absdir).Error()
    		return p
    	}
    
    	entries, err := fsys.ReadDir(absdir)
    	if err != nil {
    		p.error = err.Error()
    		return p
    	}
    
    	fset := token.NewFileSet()
    	for _, d := range entries {
    		if d.IsDir() {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7SymlinkTest.groovy

            then:
            symlink.isSymlink(new File(testDirectory, 'testFile'))
    
            when:
            symlink.symlink(new File(testDirectory, 'testDir'), testDirectory.createDir('symDir'))
    
            then:
            symlink.isSymlink(new File(testDirectory, 'testDir'))
        }
    
        @Requires(UnitTestPreconditions.Windows)
        def 'can detect Windows symbolic links as symbolic links'() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/tasks/internal/RelativeFileNameTransformerTest.groovy

            filePath                   | relativePath
            "child.txt"                | "../../child.txt"
            "subdir"                   | "../../subdir"
            "subdir/child.txt"         | "../../subdir/child.txt"
            "subdir/another"           | "../../subdir/another"
            "subdir/another/child.txt" | "../../subdir/another/child.txt"
            "another/dir/child.txt"    | "../../another/dir/child.txt"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_vendor_embed.txt

    go mod vendor
    cmp vendor/example.com/a/samedir_embed.txt a/samedir_embed.txt
    cmp vendor/example.com/a/subdir/embed.txt a/subdir/embed.txt
    cmp vendor/example.com/a/subdir/test/embed.txt a/subdir/test/embed.txt
    cmp vendor/example.com/a/subdir/test/xtest/embed.txt a/subdir/test/xtest/embed.txt
    
    cd broken_no_matching_files
    ! go mod vendor
    stderr '^go: resolving embeds in example.com/brokendep: pattern foo.txt: no matching files found$'
    go mod vendor -e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:14:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/PathFactoryTest.groovy

            // Using normalised absolute urls
            factory.path(subDir) == factory.path("file://${relpath(subDir)}")
            factory.path(subDir) == factory.path("file://${relpath(childFile)}/../..")
            factory.path("file://${relpath(subDir)}") != factory.path("file://${relpath(childFile)}")
    
            // Using absolute paths
            factory.path(subDir) == factory.path("file://${subDir.absolutePath}")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/classpath/impl/DefaultClasspathFingerprinterTest.groovy

                subdir {
                    file('someOtherFile.log').text = "File in subdir"
                }
            }.zipTo(zipFile)
            def classes = file('classes').create {
                file('thirdFile.txt').text = "Third file"
                file('fourthFile.txt').text = "Fourth file"
                subdir {
                    file('build.log').text = "File in subdir"
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:33 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/issue53586.txt

    [short] skip  # sleeps to make mtime cacheable
    
    go mod init example
    
    cd subdir
    go mod init example/subdir
    sleep 2s  # allow go.mod mtime to be cached
    
    go list -f '{{.Dir}}: {{.ImportPath}}' ./pkg
    stdout $PWD${/}pkg': example/subdir/pkg$'
    
    rm go.mod  # expose ../go.mod
    
    go list -f '{{.Dir}}: {{.ImportPath}}' ./pkg
    stdout $PWD${/}pkg': example/subdir/pkg$'
    
    -- subdir/pkg/pkg.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 18:20:39 UTC 2022
    - 394 bytes
    - Viewed (0)
Back to top