Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 434 for sysdir (0.2 sec)

  1. src/os/os_test.go

    	t.Parallel()
    
    	t.Run(".", testReaddirnames(".", dot))
    	t.Run("sysdir", testReaddirnames(sysdir.name, sysdir.files))
    	t.Run("TempDir", testReaddirnames(t.TempDir(), nil))
    }
    
    func TestFileReaddir(t *testing.T) {
    	t.Parallel()
    
    	t.Run(".", testReaddir(".", dot))
    	t.Run("sysdir", testReaddir(sysdir.name, sysdir.files))
    	t.Run("TempDir", testReaddir(t.TempDir(), nil))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultSourceDirectorySetTest.groovy

            touch(new File(srcDir1, 'subdir/file1.txt'))
    
            when:
            set.srcDir 'dir1'
            set.srcDir 'dir2'
    
            then:
            assertSetContainsForAllTypes(set, 'subdir/file1.txt')
        }
    
        void failsWhenSourceDirectoryIsNotADirectory() {
            File srcDir = new File(testDir, 'dir1')
            touch(srcDir)
    
            when:
            set.srcDir 'dir1'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 14.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileTreeTest.groovy

            assertSetContainsForAllTypes(filtered, 'subDir/included1', 'subDir2/included2')
            assertVisits(filtered, ['subDir/included1', 'subDir2/included2'], ['subDir', 'subDir2'])
            filtered.contains(included1)
            !filtered.contains(excluded1)
            !filtered.contains(ignored1)
        }
    
        def testCanFilterMatchingFilesUsingPatternSet() {
            File included1 = new File(testDir, 'subDir/included1')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. 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)
Back to top