sbt.internal.inc

Members list

Type members

Classlikes

sealed trait CreateZip

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

The concrete implementation of sbt.internal.inc.IndexBasedZipOps based on sbt.internal.inc.zip.ZipCentralDir.

The concrete implementation of sbt.internal.inc.IndexBasedZipOps based on sbt.internal.inc.zip.ZipCentralDir.

Attributes

Supertypes
trait CreateZip
class Object
trait Matchable
class Any
Self type
abstract class IndexBasedZipOps extends CreateZip

Provides efficient implementation of operations on zip files * that are used for implementation of the Straight to Jar feature.

Provides efficient implementation of operations on zip files * that are used for implementation of the Straight to Jar feature.

The implementation is based on index (aka central directory) that is located at the end of the zip file and contains among others the name/path and offset where the actual data of stored file is located. Reading zips should always be done based on that index, which means that it is often enough to manipulate this index without rewriting the other part of the file. This class heavily relies on this fact.

This class abstracts over the actual operations on index i.e. reading, manipulating and storing it making it easy to replace.

Attributes

Supertypes
trait CreateZip
class Object
trait Matchable
class Any
Known subtypes
object IndexBasedZipFsOps.type
object JarUtils

This is a utility class that provides a set of functions that are used to implement straight to jar compilation.

This is a utility class that provides a set of functions that are used to implement straight to jar compilation.

xsbt.JarUtils is a class that has similar purpose and duplicates some of the code, as it is difficult to share it.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
JarUtils.type