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
c47cd13c
Commit
c47cd13c
authored
Jul 09, 2018
by
Lucas Molas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unixfs: remove unused `ShardSplitThreshold` variable
License: MIT Signed-off-by:
Lucas Molas
<
schomatis@gmail.com
>
parent
7d531c00
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
unixfs/io/directory.go
unixfs/io/directory.go
+0
-5
No files found.
unixfs/io/directory.go
View file @
c47cd13c
...
...
@@ -13,11 +13,6 @@ import (
cid
"gx/ipfs/QmapdYm1b22Frv3k17fqrBYTFRxwiaVJkB299Mfn33edeB/go-cid"
)
// ShardSplitThreshold specifies how large of an unsharded directory
// the Directory code will generate. Adding entries over this value will
// result in the node being restructured into a sharded object.
var
ShardSplitThreshold
=
1000
// UseHAMTSharding is a global flag that signifies whether or not to use the
// HAMT sharding scheme for directory creation
var
UseHAMTSharding
=
false
...
...
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