Skip to content

Commit 713cc21

Browse files
committed
fix: remove unused code
1 parent d3d487f commit 713cc21

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/coreapi/name.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ func (e *ipnsEntry) Value() path.Path {
3838
return e.value
3939
}
4040

41-
type requestContextKey string
42-
4341
// Publish announces new IPNS name and returns the new IPNS entry.
4442
func (api *NameAPI) Publish(ctx context.Context, p path.Path, opts ...caopts.NamePublishOption) (coreiface.IpnsEntry, error) {
4543
ctx, span := tracing.Span(ctx, "CoreAPI.NameAPI", "Publish", trace.WithAttributes(attribute.String("path", p.String())))

0 commit comments

Comments
 (0)