Skip to content

refactor: return remainder from ResolvePath

Codecov / codecov/patch succeeded Sep 18, 2023 in 1s

29.78% of diff hit (target 38.43%)

View this Pull Request on Codecov

29.78% of diff hit (target 38.43%)

Annotations

Check warning on line 20 in client/rpc/apifile.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rpc/apifile.go#L20

Added line #L20 was not covered by tests

Check warning on line 119 in client/rpc/dag.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rpc/dag.go#L119

Added line #L119 was not covered by tests

Check warning on line 26 in client/rpc/key.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rpc/key.go#L25-L26

Added lines #L25 - L26 were not covered by tests

Check warning on line 31 in client/rpc/key.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rpc/key.go#L30-L31

Added lines #L30 - L31 were not covered by tests

Check warning on line 93 in client/rpc/key.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rpc/key.go#L92-L93

Added lines #L92 - L93 were not covered by tests

Check warning on line 91 in client/rpc/name.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rpc/name.go#L87-L91

Added lines #L87 - L91 were not covered by tests

Check warning on line 20 in client/rpc/path.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rpc/path.go#L20

Added line #L20 was not covered by tests

Check warning on line 30 in client/rpc/path.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rpc/path.go#L30

Added line #L30 was not covered by tests

Check warning on line 35 in client/rpc/path.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rpc/path.go#L35

Added line #L35 was not covered by tests

Check warning on line 42 in client/rpc/path.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rpc/path.go#L42

Added line #L42 was not covered by tests

Check warning on line 186 in client/rpc/pin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rpc/pin.go#L185-L186

Added lines #L185 - L186 were not covered by tests

Check warning on line 101 in cmd/ipfs/add_migrations.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/ipfs/add_migrations.go#L101

Added line #L101 was not covered by tests

Check warning on line 145 in cmd/ipfs/add_migrations.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/ipfs/add_migrations.go#L145

Added line #L145 was not covered by tests

Check warning on line 265 in cmd/ipfs/init.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/ipfs/init.go#L265

Added line #L265 was not covered by tests

Check warning on line 72 in core/commands/block.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/block.go#L69-L72

Added lines #L69 - L72 were not covered by tests

Check warning on line 74 in core/commands/block.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/block.go#L74

Added line #L74 was not covered by tests

Check warning on line 114 in core/commands/block.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/block.go#L111-L114

Added lines #L111 - L114 were not covered by tests

Check warning on line 116 in core/commands/block.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/block.go#L116

Added line #L116 was not covered by tests

Check warning on line 271 in core/commands/block.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/block.go#L268-L271

Added lines #L268 - L271 were not covered by tests

Check warning on line 273 in core/commands/block.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/block.go#L273

Added line #L273 was not covered by tests

Check warning on line 134 in core/commands/cat.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/cat.go#L130-L134

Added lines #L130 - L134 were not covered by tests

Check warning on line 136 in core/commands/cat.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/cat.go#L136

Added line #L136 was not covered by tests

Check warning on line 59 in core/commands/dns.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/dns.go#L59

Added line #L59 was not covered by tests

Check warning on line 63 in core/commands/dns.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/dns.go#L63

Added line #L63 was not covered by tests

Check warning on line 429 in core/commands/files.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/files.go#L426-L429

Added lines #L426 - L429 were not covered by tests