mirror of
https://github.com/harness/drone.git
synced 2025-05-05 07:00:02 +08:00
22 lines
666 B
Go
22 lines
666 B
Go
// Copyright 2022 Harness Inc. All rights reserved.
|
|
// Use of this source code is governed by the Polyform Free Trial License
|
|
// that can be found in the LICENSE.md file for this repository.
|
|
|
|
package store
|
|
|
|
import (
|
|
"github.com/harness/gitness/cache"
|
|
"github.com/harness/gitness/types"
|
|
)
|
|
|
|
type (
|
|
// PrincipalInfoCache caches principal IDs to principal info.
|
|
PrincipalInfoCache cache.ExtendedCache[int64, *types.PrincipalInfo]
|
|
|
|
// SpacePathCache caches a raw path to a space path.
|
|
SpacePathCache cache.Cache[string, *types.SpacePath]
|
|
|
|
// RepoGitInfoCache caches repository IDs to values GitUID.
|
|
RepoGitInfoCache cache.Cache[int64, *types.RepositoryGitInfo]
|
|
)
|