cosmetic: fix some copy-pasted names

This commit is contained in:
komarov 2021-02-28 12:39:23 +01:00 committed by GitHub
parent d282a50439
commit 5e8c5c0bb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ type Database interface {
// at the specified IRI, for prepending new items. // at the specified IRI, for prepending new items.
// //
// The library makes this call only after acquiring a lock first. // The library makes this call only after acquiring a lock first.
GetOutbox(c context.Context, outboxIRI *url.URL) (inbox vocab.ActivityStreamsOrderedCollectionPage, err error) GetOutbox(c context.Context, outboxIRI *url.URL) (outbox vocab.ActivityStreamsOrderedCollectionPage, err error)
// SetOutbox saves the outbox value given from GetOutbox, with new items // SetOutbox saves the outbox value given from GetOutbox, with new items
// prepended. Note that the new items must not be added as independent // prepended. Note that the new items must not be added as independent
// database entries. Separate calls to Create will do that. // database entries. Separate calls to Create will do that.
@ -128,12 +128,12 @@ type Database interface {
// If modified, the library will then call Update. // If modified, the library will then call Update.
// //
// The library makes this call only after acquiring a lock first. // The library makes this call only after acquiring a lock first.
Following(c context.Context, actorIRI *url.URL) (followers vocab.ActivityStreamsCollection, err error) Following(c context.Context, actorIRI *url.URL) (following vocab.ActivityStreamsCollection, err error)
// Liked obtains the Liked Collection for an actor with the // Liked obtains the Liked Collection for an actor with the
// given id. // given id.
// //
// If modified, the library will then call Update. // If modified, the library will then call Update.
// //
// The library makes this call only after acquiring a lock first. // The library makes this call only after acquiring a lock first.
Liked(c context.Context, actorIRI *url.URL) (followers vocab.ActivityStreamsCollection, err error) Liked(c context.Context, actorIRI *url.URL) (liked vocab.ActivityStreamsCollection, err error)
} }