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
dms3
go-dms3
Commits
a7abc9cd
Commit
a7abc9cd
authored
Dec 02, 2016
by
Mib Kd743naq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bad formatting introduced by
e855047e
License: MIT Signed-off-by:
Mib Kd743naq
<
mib.kd743naq@gmail.com
>
parent
a542dea5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
blocks/blockstore/util/remove.go
blocks/blockstore/util/remove.go
+1
-1
No files found.
blocks/blockstore/util/remove.go
View file @
a7abc9cd
...
@@ -29,7 +29,7 @@ type RmBlocksOpts struct {
...
@@ -29,7 +29,7 @@ type RmBlocksOpts struct {
func
RmBlocks
(
blocks
bs
.
GCBlockstore
,
pins
pin
.
Pinner
,
cids
[]
*
cid
.
Cid
,
opts
RmBlocksOpts
)
(
<-
chan
interface
{},
error
)
{
func
RmBlocks
(
blocks
bs
.
GCBlockstore
,
pins
pin
.
Pinner
,
cids
[]
*
cid
.
Cid
,
opts
RmBlocksOpts
)
(
<-
chan
interface
{},
error
)
{
// make the channel large enough to hold any result to avoid
// make the channel large enough to hold any result to avoid
// blocking while holding the GCLock
// blocking while holding the GCLock
out
:=
make
(
chan
interface
{},
len
(
cids
))
out
:=
make
(
chan
interface
{},
len
(
cids
))
go
func
()
{
go
func
()
{
defer
close
(
out
)
defer
close
(
out
)
...
...
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