The filestore
module is a simple wrapper for os.File. It is used by pieceio,
retrievialmarket, and storagemarket.
go get github.com/filecoin-project/go-fil-markets/filestore
FileStore is the primary export of this module.
To create a new local filestore mounted on a given local directory path, use:
package filestore
func NewLocalFileStore(basedirectory OsPath) (FileStore, error)
A FileStore provides the following functions:
Please the tests for more information about expected behavior.