Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ld
go-car
Commits
7ff5726c
Commit
7ff5726c
authored
Mar 04, 2020
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: remove dead code
parent
d192da14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
car.go
car.go
+0
-8
No files found.
car.go
View file @
7ff5726c
...
...
@@ -192,14 +192,6 @@ func loadCarFast(s batchStore, cr *CarReader) (*CarHeader, error) {
buf
=
buf
[
:
0
]
}
}
if
len
(
buf
)
>
0
{
if
err
:=
s
.
PutMany
(
buf
);
err
!=
nil
{
return
nil
,
err
}
}
return
cr
.
Header
,
nil
}
func
loadCarSlow
(
s
Store
,
cr
*
CarReader
)
(
*
CarHeader
,
error
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment