- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 302 for tophash (0.22 sec)
-
maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
File remoteFile = new File(remoteRepo.getBasedir(), remoteRepo.pathOf(artifact)); Files.createDirectories(localFile.toPath().getParent()); Files.copy(remoteFile.toPath(), localFile.toPath()); } artifact.setResolved(true); } public void retrieve( ArtifactRepository repository, File destination,
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/precompiled-script-plugin-utils/src/main/java/com/example/ReadmeVerificationTask.java
public abstract ListProperty<String> getReadmePatterns(); @TaskAction void verifyServiceReadme() throws IOException { String readmeContents = new String (Files.readAllBytes(getReadme().getAsFile().get().toPath())); for (String requiredSection : getReadmePatterns().get()) { Pattern pattern = Pattern.compile(requiredSection, Pattern.MULTILINE); if (!pattern.matcher(readmeContents).find()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
} @Nonnull @Override public Path getPomPath() { return nonNull(project.getFile(), "pomPath").toPath(); } @Override public Path getBasedir() { return nonNull(project.getBasedir(), "basedir").toPath(); } @Nonnull @Override public List<DependencyCoordinate> getDependencies() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 16 08:45:24 UTC 2024 - 6.7K bytes - Viewed (0) -
src/cmd/go/internal/load/search.go
rel, err := filepath.Rel(dir, p.Dir) if err != nil { // Cannot make relative - e.g. different drive letters on Windows. return false } rel = filepath.ToSlash(rel) if rel == ".." || strings.HasPrefix(rel, "../") { return false } return matchPath(rel) } case pattern == "all": return func(p *Package) bool { return true } case pattern == "std":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 16:43:40 UTC 2022 - 1.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/ClassLoaderUtilsTest.groovy
File classpath = ClasspathUtil.getClasspathForClass(testClass) File classFile = new File(classpath, testClass.name.replace('.', '/') + '.class') byte[] bytes = Files.readAllBytes(classFile.toPath()) MyClassLoader myClassLoader = new MyClassLoader() when: Class klass = ClassLoaderUtils.define(myClassLoader, DefaultClassLoaderFactoryTestHelper.name, bytes) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.4K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
this.modelLocator = modelLocator; this.modelReader = modelReader; } @Deprecated @Override public File locatePom(File projectDirectory) { return locatePom(projectDirectory.toPath()).toFile(); } @Override public Path locatePom(Path projectDirectory) { // Note that the ModelProcessor#locatePom never returns null
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 8.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go
return fmt.Errorf("%s is not a directory", dir) } rel := file if dir != "." { rel = file[len(dir)+1:] } f := filepath.Join(prefix, rel) files = append(files, filepath.ToSlash(f)) return nil }) if err != nil { return nil, err } return files, nil } // HashZip returns the hash of the file content in the named zip file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:59:52 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/Jdk7FileCanonicalizer.java
public class Jdk7FileCanonicalizer implements FileCanonicalizer { @SuppressWarnings("Since15") @Override public File canonicalize(File file) throws FileException { try { return file.toPath().toRealPath().toFile(); } catch (IOException e) { throw new FileException(String.format("Could not canonicalize file %s.", file), e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/nio/NioFileMetadataAccessorTest.groovy
assert fileMetadata.lastModified == lastModified(file) } private static long lastModified(File file) { return Files.getFileAttributeView(file.toPath(), BasicFileAttributeView, LinkOption.NOFOLLOW_LINKS).readAttributes().lastModifiedTime().toMillis() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/SingleIncludePatternFileTree.java
RelativePath path = new RelativePath(true, pathSegments.toArray(new String[0])); FileVisitDetails details = AttributeBasedFileVisitDetailsFactory.getRootFileVisitDetails(file.toPath(), path, stopFlag, fileSystem); if (!excludeSpec.isSatisfiedBy(details)) { visitor.visitFile(details); } } } else if (file.isDirectory()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.5K bytes - Viewed (0)