Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 180 for tophash (0.2 sec)

  1. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheCleanupIntegrationTest.groovy

            return "Build cache"
        }
    
        @Override
        void createBuildCacheEntry(String key, File value, long timestamp) {
            File cacheFile = cacheDir.file(key)
            Files.copy(value.toPath(), cacheFile.toPath())
            writeLastFileAccessTimeToJournal(cacheFile, timestamp)
        }
    
        @Override
        boolean existsBuildCacheEntry(String key) {
            cacheDir.file(key).exists()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/AbstractReadOnlyCacheDependencyResolutionTest.groovy

            roCacheDir = temporaryFolder.createDir("read-only-cache")
            def cachePath = roCacheDir.toPath()
            doCopy(metadataCacheDir, cachePath, CacheLayout.MODULES)
    
            roCacheDir
        }
    
        private void doCopy(File cacheDir, Path cachePath, CacheLayout entry) {
            if (cacheDir.exists()) {
                Files.move(cacheDir.toPath(), cachePath.resolve(entry.key))
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/PosixJdk7FilePermissionHandler.java

            final PosixFileAttributes posixFileAttributes = Files.readAttributes(file.toPath(), PosixFileAttributes.class);
            return convertToInt(posixFileAttributes.permissions());
        }
    
        @Override
        public void chmod(File f, int mode) throws IOException {
            PosixFileAttributeView fileAttributeView = Files.getFileAttributeView(f.toPath(), PosixFileAttributeView.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            if (Files.isSymbolicLink(this.toPath())) {
                try {
                    Files.delete(toPath());
                } catch (IOException e) {
                    throw new UncheckedIOException(e);
                }
            }
            try {
                getParentFile().mkdirs();
                Files.createSymbolicLink(this.toPath(), target.toPath());
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

        @Override
        public Path getPath() {
            return path;
        }
    
        public void merge(File existing, File result) throws RepositoryException {
            merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null);
        }
    
        @Override
        public void merge(Path existing, Path result) throws RepositoryException {
            Metadata recessive = read(existing);
    
            merge(recessive);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. testing/smoke-ide-test/src/smokeIdeTest/groovy/org/gradle/ide/sync/AbstractIdeaSyncTest.groovy

         * The IDE distribution is automatically downloaded if required.
         */
        protected void ideaSync(String version) {
            def gradleDist = distribution.gradleHomeDir.toPath()
            def ide = "ic-$version"
            runIdeStarterWith(gradleDist, testDirectory.toPath(), ideHome, ide)
        }
    
        protected TestFile getTestDirectory() {
            temporaryFolder.testDirectory
        }
    
        protected TestFile file(Object... path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:28:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/fetch.go

    	// Do the file I/O before acquiring the go.sum lock.
    	ziphash, err := CachePath(ctx, mod, "ziphash")
    	if err != nil {
    		base.Fatalf("verifying %v", module.VersionError(mod, err))
    	}
    	data, err := lockedfile.Read(ziphash)
    	if err != nil {
    		base.Fatalf("verifying %v", module.VersionError(mod, err))
    	}
    	data = bytes.TrimSpace(data)
    	if !isValidSum(data) {
    		// Recreate ziphash file from zip file and use that to check the mod sum.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. utils/utils.go

    }
    
    func sourceDir(file string) string {
    	dir := filepath.Dir(file)
    	dir = filepath.Dir(dir)
    
    	s := filepath.Dir(dir)
    	if filepath.Base(s) != "gorm.io" {
    		s = dir
    	}
    	return filepath.ToSlash(s) + "/"
    }
    
    // FileWithLineNum return the file name and line number of the current file
    func FileWithLineNum() string {
    	pcs := [13]uintptr{}
    	// the third caller usually from gorm internal
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 22 06:43:02 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        }
    
        public void merge(File current, File result) throws RepositoryException {
            try {
                if (current.exists()) {
                    Files.createDirectories(result.toPath().getParent());
                    Files.copy(current.toPath(), result.toPath());
                }
                ArtifactRepository localRepo = new MetadataRepository(result);
                metadata.storeInLocalRepository(localRepo, localRepo);
                merged = true;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            def copy = file("other")
    
            given:
            run("work")
            run("work")
            result.assertTasksSkipped(":work")
    
            when:
            Files.move(inDir.toPath(), copy.toPath(), StandardCopyOption.ATOMIC_MOVE)
            inDir.deleteDir()
            inDir.createLink(copy)
    
            run("work")
    
            /*
             * This documents the current behavior, which is optimizing
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top