Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Patch ¶
type Patch struct {
nostr.Event
Repository nostr.EntityPointer
Files []*gitdiff.File
Header *gitdiff.PatchHeader
}
func ParsePatch ¶
type Repository ¶
type Repository struct {
nostr.Event
ID string
Name string
Description string
Web []string
Clone []string
Relays []string
EarliestUniqueCommitID string
Maintainers []string
}
func ParseRepository ¶
func ParseRepository(event nostr.Event) Repository
func (Repository) GetPatchesSync ¶
func (repo Repository) GetPatchesSync(ctx context.Context, s nostr.RelayStore) []Patch
Click to show internal directories.
Click to hide internal directories.