View Source Dagger.EngineCacheEntrySet (dagger v0.15.1)

A set of cache entries returned by a query to a cache

Summary

Functions

The total disk space used by the cache entries in this set.

The list of individual cache entries in the set

The number of cache entries in this set.

A unique identifier for this EngineCacheEntrySet.

Types

t()

@type t() :: %Dagger.EngineCacheEntrySet{client: term(), query_builder: term()}

Functions

disk_space_bytes(engine_cache_entry_set)

@spec disk_space_bytes(t()) :: {:ok, integer()} | {:error, term()}

The total disk space used by the cache entries in this set.

entries(engine_cache_entry_set)

@spec entries(t()) :: {:ok, [Dagger.EngineCacheEntry.t()]} | {:error, term()}

The list of individual cache entries in the set

entry_count(engine_cache_entry_set)

@spec entry_count(t()) :: {:ok, integer()} | {:error, term()}

The number of cache entries in this set.

id(engine_cache_entry_set)

@spec id(t()) :: {:ok, Dagger.EngineCacheEntrySetID.t()} | {:error, term()}

A unique identifier for this EngineCacheEntrySet.