-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
help wantedSeeking public contribution on this issueSeeking public contribution on this issuekind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing feature
Description
This is a common operation. We should provide a simple alias for it.
// ~/.go-ipfs
// IPFS_PATH
ipfsPath, err := fsrepo.BestKnownPath()
if err != nil {
return err
}
repo := fsrepo.At(ipfsPath)
if err := repo.Open(); err != nil {
return nil
}
node, err := core.NewIPFSNode(context.Background(), core.Offline(repo))
if err != nil {
return err
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedSeeking public contribution on this issueSeeking public contribution on this issuekind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing feature