Documentation ¶
Overview ¶
Package cache provides infrastructure to cache things in memory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache[T any] struct { // contains filtered or unexported fields }
Cache is a cache implementation for arbitrary data structures that ensures it is initialized. The zero value is an empty cache.
func (*Cache[T]) Initialized ¶
Initialized indicates if we have a current branch.
type LocalBranch ¶
type LocalBranch = Cache[domain.LocalBranchName]
LocalBranch is a cache for domain.LocalBranchName variables.
type RemoteBranch ¶
type RemoteBranch = Cache[domain.RemoteBranchName]
RemoteBranch is a cache for domain.RemoteBranchName variables.
Click to show internal directories.
Click to hide internal directories.