Documentation ¶
Index ¶
- type Client
- func (c *Client) Delete(id string) (err error)
- func (c *Client) FindName(name string) (files []FileInfo, err error)
- func (c *Client) Insert(d *FileInfo) (err error)
- func (c *Client) LikeName(name string) (files []FileInfo, err error)
- func (c *Client) List(count, skip int64, order string) (files []FileInfo, err error)
- type FileInfo
- type IClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client .
type FileInfo ¶
type FileInfo struct { ID string `bson:"_id"` Name string Path string Ext string Size int64 GB float32 // size in GigaByte // hash value parameters Byte2Hash int64 FingerPrint int64 FingerMethod string HashValue []byte HashType string }
FileInfo to dedup
Click to show internal directories.
Click to hide internal directories.