Class CachedFile

java.lang.Object
org.sonarsource.scanner.downloadcache.CachedFile

public class CachedFile extends Object
A file from the cache
  • Constructor Details

    • CachedFile

      public CachedFile(Path path, boolean didCacheHit)
  • Method Details

    • getPath

      public Path getPath()
    • didCacheHit

      public boolean didCacheHit()
      Returns:
      true if the file was previously in the cache, false if it was freshly downloaded