diff --git a/core/builder.go b/core/builder.go index 9a9d8066d..fd64349d1 100644 --- a/core/builder.go +++ b/core/builder.go @@ -115,6 +115,7 @@ func defaultRepo(dstore repo.Datastore) (repo.Repo, error) { }, nil } +// NewNode constructs and returns an IpfsNode using the given cfg. func NewNode(ctx context.Context, cfg *BuildCfg) (*IpfsNode, error) { if cfg == nil { cfg = new(BuildCfg)