mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-04 07:48:00 +08:00
Update main.go
This commit is contained in:
parent
9a9660e04a
commit
5a979c6ecd
@ -57,10 +57,6 @@ func createTempRepo(ctx context.Context) (string, error) {
|
||||
if err != nil {
|
||||
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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user