Skip to content

Latest commit

 

History

History

filestore

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

filestore

The filestore module is a simple wrapper for os.File. It is used by pieceio, retrievialmarket, and storagemarket.

Installation

go get github.com/filecoin-project/go-fil-markets/filestore

FileStore

FileStore is the primary export of this module.

Usage

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.