qri-io/qfs

fix(`ipfs`): need to check repo lock before opening a repo

Closed this issue · 0 comments

When we InitRepo from a config, we should be checking to see if the repo is locked before attempting to open it and use it.

In qipfs.NewFilesystem, if a repo is locked, we can use this error to fallback and attempt to connect to ipfs using a ipfs_http fs.