Home
last modified time | relevance | path

Searched refs:LastCommitCache (Results 1 – 9 of 9) sorted by relevance

/dports/www/gitea/gitea-1.16.5/modules/git/
H A Dlast_commit_cache_nogogit.go18 type LastCommitCache struct { struct
27 …CommitCache(repoPath string, gitRepo *Repository, ttl func() int64, cache Cache) *LastCommitCache {
31 return &LastCommitCache{
41 func (c *LastCommitCache) Get(ref, entryPath string, wr WriteCloserError, rd *bufio.Reader) (interf… argument
67 func (c *LastCommitCache) CacheCommit(ctx context.Context, commit *Commit) error { argument
71 func (c *LastCommitCache) recursiveCache(ctx context.Context, commit *Commit, tree *Tree, treePath … argument
H A Dlast_commit_cache_gogit.go20 type LastCommitCache struct { struct
29 …CommitCache(repoPath string, gitRepo *Repository, ttl func() int64, cache Cache) *LastCommitCache {
33 return &LastCommitCache{
43 func (c *LastCommitCache) Get(ref, entryPath string) (interface{}, error) { argument
66 func (c *LastCommitCache) CacheCommit(ctx context.Context, commit *Commit) error { argument
78 func (c *LastCommitCache) recursiveCache(ctx context.Context, index cgobject.CommitNode, tree *Tree… argument
H A Dlast_commit_cache.go22 func (c *LastCommitCache) getCacheKey(repoPath, ref, entryPath string) string {
28 func (c *LastCommitCache) Put(ref, entryPath, commitID string) error {
H A Dcommit_info_nogogit.go21 …itsInfo(ctx context.Context, commit *Commit, treePath string, cache *LastCommitCache) ([]CommitInf… argument
102 …x context.Context, commitID, treePath string, paths []string, cache *LastCommitCache) (map[string]… argument
125 func GetLastCommitForPaths(ctx context.Context, cache *LastCommitCache, commit *Commit, treePath st… argument
H A Dcommit_info_gogit.go21 …itsInfo(ctx context.Context, commit *Commit, treePath string, cache *LastCommitCache) ([]CommitInf… argument
159 func getLastCommitForPathsByCache(commitID, treePath string, paths []string, cache *LastCommitCache argument
179 func GetLastCommitForPaths(ctx context.Context, cache *LastCommitCache, c cgobject.CommitNode, tree… argument
H A Dlog_name_status.go278 func WalkGitLog(ctx context.Context, cache *LastCommitCache, repo *Repository, head *Commit, treepa… argument
/dports/www/gitea/gitea-1.16.5/docs/content/doc/advanced/
H A Dconfig-cheat-sheet.zh-cn.md180 ## Cache - LastCommitCache settings (`cache.last_commit`)
H A Dconfig-cheat-sheet.en-us.md684 ## Cache - LastCommitCache settings (`cache.last_commit`)
/dports/www/gitea/gitea-1.16.5/routers/web/repo/
H A Dview.go769 var c *git.LastCommitCache