Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 70 for subdir (0.39 sec)

  1. src/cmd/go/internal/modfetch/coderepo.go

    		}
    	} else if !errors.Is(err, fs.ErrNotExist) {
    		return err
    	}
    
    	dl, err := r.code.ReadZip(ctx, rev, subdir, codehost.MaxZipFile)
    	if err != nil {
    		return err
    	}
    	defer dl.Close()
    	subdir = strings.Trim(subdir, "/")
    
    	// Spool to local file.
    	f, err := os.CreateTemp("", "go-codehost-")
    	if err != nil {
    		dl.Close()
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

                            continue;
                        }
                        subdir = path;
                    }
                    // When the same module is found in main and test output, the latter is patching the former.
                    addPathElement(JavaPathType.patchModule(moduleName), subdir);
                    addToClasspath = false;
                }
                /*
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. src/path/filepath/path_test.go

    	}
    	defer os.RemoveAll(tmpDir)
    	chdir(t, tmpDir)
    
    	subdir := filepath.Join("a", "b")
    	if err := os.MkdirAll(subdir, 0777); err != nil {
    		t.Fatal(err)
    	}
    	if err := os.Symlink(subdir, "c"); err != nil {
    		t.Fatal(err)
    	}
    	if err := os.WriteFile(filepath.Join(subdir, "file"), nil, 0666); err != nil {
    		t.Fatal(err)
    	}
    
    	subdir = filepath.Join("d", "e", "f")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

            }
    
            void taskCreatedOutputs() {
                assert outputFile.text == "This is the text"
                assert outputDir.allDescendants().containsAll('subDir/inputFile1.txt', 'subDir/inputFile2.txt')
            }
    
            File getOverlappingOutputFile() {
                file("${getOverlappingOutputDir()}/new-output.txt")
            }
    
            void overlappingOutputsAreStillPresent() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. pkg/volume/flexvolume/probe_test.go

    	// Assert
    	assert.Equal(t, 0, len(events))
    	assert.NoError(t, err)
    
    	// Call probe after a subdirectory is added in a driver directory. should return 1 event.
    	subdirPath := filepath.Join(driverPath, "subdir")
    	fs.Create(subdirPath)
    	watcher.TriggerEvent(fsnotify.Create, subdirPath)
    
    	// Act
    	events, err = prober.Probe()
    
    	// Assert
    	assert.Equal(t, 1, len(events))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 28 11:14:00 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy

            assertEquals(nested.path, baseDirConverter.resolveForDisplay(nested))
        }
    
        @Test public void testCreateFileResolver() {
            File newBaseDir = new File(baseDir, 'subdir')
            assertEquals(new File(newBaseDir, 'file'), baseDirConverter.withBaseDir('subdir').resolve('file'))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 17:15:52 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

                 */
                if (Files.isDirectory(file)) {
                    Map<Path, String> names = new HashMap<>();
                    try (Stream<Path> subdirs = Files.list(file)) {
                        subdirs.filter(Files::isDirectory).forEach((subdir) -> {
                            Path mf = subdir.resolve(MODULE_INFO);
                            if (Files.isRegularFile(mf)) {
                                String name = null;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

            when:
            librarySourceModified("hello", path)
    
            then:
            args("--info")
            succeeds "helloSharedLibrary"
            pchNotCompiled()
    
            where:
            path << [ "", "subdir/to/header/" ]
        }
    
        @ToBeFixedForConfigurationCache
        def "can set a precompiled header on a source set for a header colocated with the source" () {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  9. pkg/volume/util/subpath/subpath_windows.go

    func (sp *subpath) SafeMakeDir(subdir string, base string, perm os.FileMode) error {
    	realBase, err := evalSymlink(base)
    	if err != nil {
    		return fmt.Errorf("error resolving symlinks in %s: %s", base, err)
    	}
    
    	realFullPath := filepath.Join(realBase, subdir)
    	return doSafeMakeDir(realFullPath, realBase, perm)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 12:57:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/build.go

    // mergeOrigin returns nil.
    func mergeOrigin(m1, m2 *codehost.Origin) *codehost.Origin {
    	if m1 == nil || m2 == nil {
    		return nil
    	}
    
    	if m2.VCS != m1.VCS ||
    		m2.URL != m1.URL ||
    		m2.Subdir != m1.Subdir {
    		return nil
    	}
    
    	merged := *m1
    	if m2.Hash != "" {
    		if m1.Hash != "" && m1.Hash != m2.Hash {
    			return nil
    		}
    		merged.Hash = m2.Hash
    	}
    	if m2.TagSum != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top