Documentation ¶
Index ¶
- Variables
- type Document
- type File
- type Library
- func (l *Library) Delete(id uint64) error
- func (l *Library) GetLocalPath(name string) (string, bool)
- func (l *Library) List(folder string) (List, error)
- func (l *Library) Receive(id uint64, localPath string) (pool.Feed, error)
- func (l *Library) Save(id uint64, dest string) error
- func (l *Library) Send(localPath string, name string, solveConflicts bool, tags ...string) (pool.Feed, error)
- type List
- type Local
- type State
- type Version
Constants ¶
This section is empty.
Variables ¶
View Source
var Auto = ""
View Source
var HashChainMaxLength = 128
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { Name string `json:"name"` Id uint64 `json:"id"` ModTime time.Time `json:"modTime"` Size uint64 `json:"size"` AuthorId string `json:"authorId"` ContentType string `json:"contentType"` Hash []byte `json:"hash"` HashChain [][]byte `json:"hashChain"` Tags []string `json:"tags"` Offset int }
File includes information about a file stored on the library. Most information refers on the synchronized state with the exchange.
type Library ¶
Click to show internal directories.
Click to hide internal directories.