github.com/gitbundle/modules@v0.0.0-20231025071548-85b91c5c3b01/git/notes.go (about) 1 // Copyright 2023 The GitBundle Inc. All rights reserved. 2 // Copyright 2017 The Gitea Authors. All rights reserved. 3 // Use of this source code is governed by a MIT-style 4 // license that can be found in the LICENSE file. 5 6 package git 7 8 // NotesRef is the git ref where GitBundle will look for git-notes data. 9 // The value ("refs/notes/commits") is the default ref used by git-notes. 10 const NotesRef = "refs/notes/commits" 11 12 // Note stores information about a note created using git-notes. 13 type Note struct { 14 Message []byte 15 Commit *Commit 16 }