/dports/www/gitea/gitea-1.16.5/modules/git/ |
H A D | last_commit_cache_nogogit.go | 18 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 D | last_commit_cache_gogit.go | 20 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 D | last_commit_cache.go | 22 func (c *LastCommitCache) getCacheKey(repoPath, ref, entryPath string) string { 28 func (c *LastCommitCache) Put(ref, entryPath, commitID string) error {
|
H A D | commit_info_nogogit.go | 21 …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 D | commit_info_gogit.go | 21 …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 D | log_name_status.go | 278 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 D | config-cheat-sheet.zh-cn.md | 180 ## Cache - LastCommitCache settings (`cache.last_commit`)
|
H A D | config-cheat-sheet.en-us.md | 684 ## Cache - LastCommitCache settings (`cache.last_commit`)
|
/dports/www/gitea/gitea-1.16.5/routers/web/repo/ |
H A D | view.go | 769 var c *git.LastCommitCache
|