Documentation ¶
Index ¶
- type Storage
- func (c *Storage) DelByKey(key string)
- func (c *Storage) DelByPath(path string) (err error)
- func (c *Storage) Flush()
- func (c *Storage) Get(key string) (f *os.File, ok bool, err error)
- func (c *Storage) Has(key string) bool
- func (c *Storage) HasKey(key string) bool
- func (c *Storage) HasPath(path string) bool
- func (c *Storage) ImportDir(path string) (err error)
- func (c *Storage) ImportFile(path string) (key string, err error)
- func (c *Storage) String() string
- func (c *Storage) Update()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
[Content-Addressed Storage](http://de.wikipedia.org/wiki/Content-Addressed_Storage)
func (*Storage) ImportFile ¶
imports a file
Click to show internal directories.
Click to hide internal directories.