Commit e5f2f56b authored by ForrestWeston's avatar ForrestWeston

docs for core builder NewNode method

License: MIT
Signed-off-by: default avatarForrestWeston <forrest@protocol.ai>
parent 76907bb4
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment