ZipAndJarFileLookupFactory

dotty.tools.dotc.classpath.ZipAndJarFileLookupFactory

A trait providing an optional cache for classpath entries obtained from zip and jar files. It allows us to e.g. reduce significantly memory used by PresentationCompilers in Scala IDE when there are a lot of projects having a lot of common dependencies.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

protected def createForZipFile(zipFile: AbstractFile, release: Option[String]): ClassPath

Concrete methods

def create(zipFile: AbstractFile)(using Context): ClassPath