Summary
Persists and retrieves
GitVersionVariables from a disk cache to avoid redundant recalculation.- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.VersionCalculation .Caching
graph BT
Type["IGitVersionCacheProvider"]
class Type type-node
Syntax
public interface IGitVersionCacheProvider
Attributes
| Type | Description |
|---|---|
| Nullable |
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
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|