Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isContentAndMetadataUpToDate (0.55 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MissingFileSnapshot.java

        public FileType getType() {
            return FileType.Missing;
        }
    
        @Override
        public HashCode getHash() {
            return SIGNATURE;
        }
    
        @Override
        public boolean isContentAndMetadataUpToDate(FileSystemLocationSnapshot other) {
            return isContentUpToDate(other);
        }
    
        @Override
        public boolean isContentUpToDate(FileSystemLocationSnapshot other) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/RegularFileSnapshot.java

            return contentHash;
        }
    
        // Used by the Maven caching client. Do not remove
        public FileMetadata getMetadata() {
            return metadata;
        }
    
        @Override
        public boolean isContentAndMetadataUpToDate(FileSystemLocationSnapshot other) {
            return isContentUpToDate(other) && metadata.equals(((RegularFileSnapshot) other).metadata);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemLocationSnapshot.java

         * </dl>
         */
        HashCode getHash();
    
        /**
         * Whether the content and the metadata (modification date) of the current snapshot is the same as for the given one.
         */
        boolean isContentAndMetadataUpToDate(FileSystemLocationSnapshot other);
    
        /**
         * Whether the content of the current snapshot is the same as for the given one.
         */
        boolean isContentUpToDate(FileSystemLocationSnapshot other);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 15:09:45 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/DirectorySnapshot.java

        public HashCode getHash() {
            return contentHash;
        }
    
        @Override
        public FileType getType() {
            return FileType.Directory;
        }
    
        @Override
        public boolean isContentAndMetadataUpToDate(FileSystemLocationSnapshot other) {
            return isContentUpToDate(other);
        }
    
        @Override
        public boolean isContentUpToDate(FileSystemLocationSnapshot other) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/OutputSnapshotUtil.java

            // Was it created during execution?
            if (beforeSnapshot == null) {
                return true;
            }
            // Was it updated during execution?
            if (!afterExecutionSnapshot.isContentAndMetadataUpToDate(beforeSnapshot)) {
                return true;
            }
            // Did we already consider it as an output after the previous execution?
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top