code.gitea.io/gitea@v1.19.3/modules/git/notes.go (about)

     1  // Copyright 2019 The Gitea Authors. All rights reserved.
     2  // SPDX-License-Identifier: MIT
     3  
     4  package git
     5  
     6  // NotesRef is the git ref where Gitea will look for git-notes data.
     7  // The value ("refs/notes/commits") is the default ref used by git-notes.
     8  const NotesRef = "refs/notes/commits"
     9  
    10  // Note stores information about a note created using git-notes.
    11  type Note struct {
    12  	Message []byte
    13  	Commit  *Commit
    14  }