IGitVersionCacheProvider Interface

Summary

Persists and retrieves GitVersionVariables from a disk cache to avoid redundant recalculation.
graph BT Type["IGitVersionCacheProvider"] class Type type-node

Syntax

public interface IGitVersionCacheProvider

Methods

Name Value Summary
LoadVersionVariablesFromDiskCache() GitVersionVariables?
Loads and returns the cached GitVersionVariables, or null if the cache is absent or stale.
WriteVariablesToDiskCache(GitVersionVariables) void
Writes versionVariables to the on-disk cache.

Extension Methods

Name Value Summary
NotNull<IGitVersionCacheProvider>(string) T
Throws ArgumentNullException when value is null; otherwise returns the value.
GitHub