Summary
Persists and retrieves
GitVersionVariables from a disk cache to
avoid redundant recalculation.
- Namespace
-
GitVersion
.VersionCalculation .Caching
graph BT Type["IGitVersionCacheProvider"] class Type
type-node
Syntax
public interface IGitVersionCacheProvider
Methods
| Name | Value | Summary |
|---|---|---|
|
Load |
GitVersionVariables? |
Loads and returns the cached
GitVersionVariables, or
null if the cache is absent or
stale.
|
|
Write |
void |
Writes
versionVariables
to the on-disk cache.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
|
NotNull |
T |
Throws
ArgumentNullException when
value is
null; otherwise returns the
value.
From
CommonExtensions
|