ipfs-search/ipfs-search

View on GitHub

Showing 1 of 1,668 total issues

Method IPFS.Ls has 52 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (i *IPFS) Ls(ctx context.Context, r *t.AnnotatedResource, out chan<- *t.AnnotatedResource) error {
    ctx, span := i.Tracer.Start(ctx, "protocol.ipfs.Ls")
    defer span.End()

    path := absolutePath(r)
Severity: Minor
Found in components/protocol/ipfs/ls.go - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language