package
1.26.7
Repository: https://github.com/filecoin-project/boost-gfm.git
Documentation: pkg.go.dev

# README

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.

# Packages

No description provided by the author

# Functions

NewLocalFileStore creates a filestore mounted on a given local directory path.

# Interfaces

File is a wrapper around an os file.
FileStore is an abstract filestore, used for storing temporary file data when handing off a deal to the Storage Mining module.

# Type aliases

OsPath represents a path that can be located on the operating system with standard os.File operations.
Path represents an abstract path to a file.