Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
go-ipfs
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
ipfs
go-ipfs
Commits
5a979c6e
Unverified
Commit
5a979c6e
authored
5 years ago
by
Henrique Dias
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update main.go
parent
9a9660e0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/examples/go-ipfs-as-a-library/main.go
+0
-4
0 additions, 4 deletions
docs/examples/go-ipfs-as-a-library/main.go
with
0 additions
and
4 deletions
docs/examples/go-ipfs-as-a-library/main.go
+
0
−
4
View file @
5a979c6e
...
...
@@ -58,10 +58,6 @@ func createTempRepo(ctx context.Context) (string, error) {
return
""
,
err
}
// Add your custom configuration to the repository config
// For example, you can enable sharding with:
// cfg.Experimental.ShardingEnabled = true
// Create the repo with the config
err
=
fsrepo
.
Init
(
repoPath
,
cfg
)
if
err
!=
nil
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment