Skip to content

Move index method from Store to Collection

Codecov / codecov/patch succeeded Mar 7, 2024 in 0s

50.00% of diff hit (target 74.99%)

View this Pull Request on Codecov

50.00% of diff hit (target 74.99%)

Annotations

Check warning on line 114 in db/collection_index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection_index.go#L113-L114

Added lines #L113 - L114 were not covered by tests

Check warning on line 120 in db/collection_index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection_index.go#L119-L120

Added lines #L119 - L120 were not covered by tests

Check warning on line 129 in db/collection_index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection_index.go#L128-L129

Added lines #L128 - L129 were not covered by tests

Check warning on line 135 in db/collection_index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection_index.go#L134-L135

Added lines #L134 - L135 were not covered by tests

Check warning on line 139 in db/collection_index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection_index.go#L138-L139

Added lines #L138 - L139 were not covered by tests

Check warning on line 148 in db/collection_index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection_index.go#L147-L148

Added lines #L147 - L148 were not covered by tests

Check warning on line 154 in db/collection_index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection_index.go#L153-L154

Added lines #L153 - L154 were not covered by tests

Check warning on line 209 in db/collection_index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection_index.go#L208-L209

Added lines #L208 - L209 were not covered by tests

Check warning on line 214 in db/collection_index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection_index.go#L213-L214

Added lines #L213 - L214 were not covered by tests

Check warning on line 367 in db/index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/index.go#L366-L367

Added lines #L366 - L367 were not covered by tests

Check warning on line 184 in db/txn_db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/txn_db.go#L184

Added line #L184 was not covered by tests

Check warning on line 462 in http/client_collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

http/client_collection.go#L461-L462

Added lines #L461 - L462 were not covered by tests

Check warning on line 466 in http/client_collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

http/client_collection.go#L465-L466

Added lines #L465 - L466 were not covered by tests

Check warning on line 470 in http/client_collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

http/client_collection.go#L469-L470

Added lines #L469 - L470 were not covered by tests

Check warning on line 267 in net/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

net/server.go#L267

Added line #L267 was not covered by tests

Check warning on line 301 in net/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

net/server.go#L300-L301

Added lines #L300 - L301 were not covered by tests

Check warning on line 343 in net/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

net/server.go#L342-L343

Added lines #L342 - L343 were not covered by tests

Check warning on line 346 in net/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

net/server.go#L345-L346

Added lines #L345 - L346 were not covered by tests

Check warning on line 350 in net/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

net/server.go#L350

Added line #L350 was not covered by tests

Check warning on line 365 in net/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

net/server.go#L364-L365

Added lines #L364 - L365 were not covered by tests

Check warning on line 371 in net/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

net/server.go#L370-L371

Added lines #L370 - L371 were not covered by tests

Check warning on line 377 in net/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

net/server.go#L376-L377

Added lines #L376 - L377 were not covered by tests