Skip to content

Commit

Permalink
Correct docstring about resolving IPNS names.
Browse files Browse the repository at this point in the history
  • Loading branch information
lthibault committed Aug 6, 2024
1 parent e68a0d3 commit 3de8e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ww.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (c Cluster) NewFS(ctx context.Context) (*system.FS, error) {
func (c Cluster) Resolve(ctx context.Context, p path.Path) (n files.Node, err error) {
switch ns := p.Segments()[0]; ns {
case "ipns":
// IPLD introduces one level of indirection: a mutable name.
// IPNS introduces one level of indirection: a mutable name.
// Here we are fetching the IPFS record to which the name is
// currently pointing.
p, err = c.IPFS.Name().Resolve(ctx, p.String())
Expand Down

0 comments on commit 3de8e7a

Please sign in to comment.