Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

cache.go 351B

1234567891011
  1. // Copyright 2019 The Gitea Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package git
  5. // LastCommitCache cache
  6. type LastCommitCache interface {
  7. Get(repoPath, ref, entryPath string) (*Commit, error)
  8. Put(repoPath, ref, entryPath string, commit *Commit) error
  9. }