 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
      Overview ¶
Package flatfs is a Datastore implementation that stores all objects in a two-level directory structure in the local file system, regardless of the hierarchy of the keys.
Index ¶
- Variables
- type Datastore
- func (fs *Datastore) Batch() (datastore.Batch, error)
- func (fs *Datastore) Close() error
- func (fs *Datastore) Delete(key datastore.Key) error
- func (fs *Datastore) Get(key datastore.Key) (value interface{}, err error)
- func (fs *Datastore) Has(key datastore.Key) (exists bool, err error)
- func (*Datastore) IsThreadSafe()
- func (fs *Datastore) Put(key datastore.Key, value interface{}) error
- func (fs *Datastore) Query(q query.Query) (query.Results, error)
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var (
	ErrBadPrefixLen = errors.New("bad prefix length")
)
    Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore struct {
	// contains filtered or unexported fields
}
    func (*Datastore) IsThreadSafe ¶
func (*Datastore) IsThreadSafe()
 Click to show internal directories. 
   Click to hide internal directories.