sbt.util

package sbt.util

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ActionCache

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

An abstraction of a remote or local cache store.

An abstraction of a remote or local cache store.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
final class ActionResult extends Serializable

An ActionResult represents a result from executing a task. In addition to the value typically represented in the return type of a task, ActionResult tracks the file output and other side effects.

An ActionResult represents a result from executing a task. In addition to the value typically represented in the return type of a task, ActionResult tracks the file output and other side effects.

See also https://github.com/bazelbuild/remote-apis/blob/96942a2107c702ed3ca4a664f7eeb7c85ba8dc77/build/bazel/remote/execution/v2/remote_execution.proto#L1056

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object ActionResult

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

An aggregate ActionCacheStore.

An aggregate ActionCacheStore.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class BasicCache[I, O] extends Cache[I, O]

Simple key-value cache.

Simple key-value cache.

Attributes

Supertypes
trait Cache[I, O]
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
BasicJsonProtocol
class BuildWideCacheConfiguration(val store: ActionCacheStore, val outputDirectory: Path, val fileConverter: FileConverter, val logger: Logger, val cacheEventLog: CacheEventLog)

Attributes

Supertypes
class Object
trait Matchable
class Any
trait Cache[I, O]

A simple cache with keys of type I and values of type O

A simple cache with keys of type I and values of type O

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BasicCache[I, O]
object Cache

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Cache.type

Attributes

Companion
trait
Supertypes
trait BasicJsonProtocol
trait ThrowableFormats
trait FileIsoStringLongs
trait CaseClassFormats
trait ImplicitHashWriters
trait CalendarFormats
trait JavaExtraFormats
trait JavaPrimitiveFormats
trait IsoFormats
trait IsoStringLongFormats
trait FlatUnionFormats
trait UnionFormats
trait AdditionalFormats
trait CollectionFormats
trait TupleFormats
trait StandardFormats
trait PrimitiveFormats
class Object
trait Matchable
class Any
Show all
Self type
trait CacheImplicits extends BasicCacheImplicits, BasicJsonProtocol

Attributes

Companion
object
Supertypes
trait BasicJsonProtocol
trait ThrowableFormats
trait FileIsoStringLongs
trait CaseClassFormats
trait ImplicitHashWriters
trait CalendarFormats
trait JavaExtraFormats
trait JavaPrimitiveFormats
trait IsoFormats
trait IsoStringLongFormats
trait FlatUnionFormats
trait UnionFormats
trait AdditionalFormats
trait CollectionFormats
trait TupleFormats
trait StandardFormats
trait PrimitiveFormats
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object CacheLevelTag

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait CacheResult[K]

The result of a cache query

The result of a cache query

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Hit[O]
class Miss[O]
abstract class CacheStore extends Input, Output

A CacheStore is used by the caching infrastructure to persist cached information.

A CacheStore is used by the caching infrastructure to persist cached information.

Attributes

Companion
object
Supertypes
trait Output
trait Input
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
Known subtypes
class FileBasedStore[J]
class StreamBasedStore[J]
object CacheStore

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
CacheStore.type
abstract class CacheStoreFactory

Factory that can make new stores.

Factory that can make new stores.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object Digest

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Digest.type
class DirectoryStoreFactory[J](base: File) extends CacheStoreFactory

A factory that creates new stores persisted in base.

A factory that creates new stores persisted in base.

Attributes

Supertypes
class Object
trait Matchable
class Any
class DiskActionCacheStore(base: Path, converter: FileConverter) extends AbstractActionCacheStore

Attributes

Supertypes
class Object
trait Matchable
class Any
class FileBasedStore[J](file: File) extends CacheStore

A CacheStore that persists information in file.

A CacheStore that persists information in file.

Attributes

Supertypes
class CacheStore
trait Output
trait Input
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
sealed trait FileInfo

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object FileInfo

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
FileInfo.type
class FileInput(file: File) extends Input

Attributes

Supertypes
trait Input
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
class FileOutput(file: File) extends Output

Attributes

Supertypes
trait Output
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
final case class FilesInfo[F <: FileInfo]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object FilesInfo

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
FilesInfo.type
final class GetActionResultRequest extends Serializable

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait HashFileInfo extends FileInfo

Attributes

Companion
object
Supertypes
trait FileInfo
class Object
trait Matchable
class Any
Known subtypes
object HashFileInfo

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait HashFileInfo
trait FileInfo
class Object
trait Matchable
class Any
Show all

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object HashUtil

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
HashUtil.type
case class Hit[O](value: O) extends CacheResult[O]

A successful hit on the cache

A successful hit on the cache

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CacheResult[O]
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
trait Input extends Closeable

Attributes

Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
class CacheStore
class FileBasedStore[J]
class StreamBasedStore[J]
class FileInput
class PlainInput[J]
final class Manifest extends Serializable

A manifest of cached directory etc.

A manifest of cached directory etc.

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object Manifest

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Manifest.type
case class Miss[O](update: O => Unit) extends CacheResult[O]

A cache miss. update associates the missing key with O in the cache.

A cache miss. update associates the missing key with O in the cache.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CacheResult[O]
class Object
trait Matchable
class Any
Show all
sealed trait ModifiedFileInfo extends FileInfo

Attributes

Companion
object
Supertypes
trait FileInfo
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
trait Output extends Closeable

Attributes

Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
class CacheStore
class FileBasedStore[J]
class StreamBasedStore[J]
class FileOutput
class PlainOutput[J]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait PlainFileInfo extends FileInfo

Attributes

Companion
object
Supertypes
trait FileInfo
class Object
trait Matchable
class Any
object PlainFileInfo

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class PlainInput[J](input: InputStream, converter: SupportConverter[J])(using evidence$1: IsoString[J]) extends Input

Attributes

Supertypes
trait Input
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
class PlainOutput[J](output: OutputStream, converter: SupportConverter[J])(using evidence$1: IsoString[J]) extends Output

Attributes

Supertypes
trait Output
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
trait SingletonCache[A]

A cache that stores a single value.

A cache that stores a single value.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
object StampedFormat extends BasicJsonProtocol

Attributes

Supertypes
trait BasicJsonProtocol
trait ThrowableFormats
trait FileIsoStringLongs
trait CaseClassFormats
trait ImplicitHashWriters
trait CalendarFormats
trait JavaExtraFormats
trait JavaPrimitiveFormats
trait IsoFormats
trait IsoStringLongFormats
trait FlatUnionFormats
trait UnionFormats
trait AdditionalFormats
trait CollectionFormats
trait TupleFormats
trait StandardFormats
trait PrimitiveFormats
class Object
trait Matchable
class Any
Show all
Self type
class StreamBasedStore[J](inputStream: InputStream, outputStream: OutputStream, converter: SupportConverter[J])(using evidence$1: IsoString[J]) extends CacheStore

A store that reads from inputStream and writes to outputStream.

A store that reads from inputStream and writes to outputStream.

Attributes

Supertypes
class CacheStore
trait Output
trait Input
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
object StringStrings

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final class UpdateActionResultRequest extends Serializable

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class cacheLevel(include: Array[CacheLevelTag]) extends StaticAnnotation

Attributes

Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any

Types

opaque type Digest