Skip to content

Commit

Permalink
Remove publish todo\
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Sep 8, 2023
1 parent 7e758dc commit ae304bb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions namesys/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,8 @@ func ProcessResolveOptions(opts []ResolveOption) ResolveOptions {

// Publisher is an object capable of publishing particular names.
type Publisher interface {
// Publish establishes a name-value mapping.
// TODO make this not PrivKey specific.
Publish(ctx context.Context, name ci.PrivKey, value path.Path, options ...PublishOption) error
// Publish publishes the given value under the name represented by the given private key.
Publish(ctx context.Context, sk ci.PrivKey, value path.Path, options ...PublishOption) error
}

// PublishOptions specifies options for publishing an IPNS Record.
Expand Down

0 comments on commit ae304bb

Please sign in to comment.