findNote
개체에 대한 노트를 읽어요.
notesRef 인수는 사용할 기준 참조 이름이고, 기본값은 "refs/notes/commits"예요.
지정된 id는 노트를 읽을 Git 개체의 Oid예요.
시그니처
ts
class Repository {
findNote(id: string, options?: FindNoteOptions | null | undefined): Note | null;
}파라미터
- id필수 · string
노트를 읽을 Git 개체의 OID 값
- optionsnull | FindNoteOptions
노트를 찾을 때 사용할 옵션
- notesRefstring
- notesRefstring
반환 값
- null | Note
노트 인스턴스. 존재하지 않으면
null을 반환하는 값
