Versions in this module Expand all Collapse all v2 v2.0.1 Oct 1, 2024 Changes in this version + var ErrMetaFileNotFound = errors.New("file " + dto.FILENAME_META + " not found") + type ReceiveSession struct + func NewSession(identifier string, password string) (*ReceiveSession, error) + func (rs *ReceiveSession) BaseUrl(baseUrl string) + func (rs *ReceiveSession) DoesMetaFileExistOnServer() error + func (rs *ReceiveSession) DumpAndDecryptFileWithProgressBar(remoteFileName string, localFileName string) error + func (rs *ReceiveSession) DumpFileWithProgressBar(remoteFileName string, localFileName string, ...) error + func (rs *ReceiveSession) FetchAndDecryptFileWithProgressBar(fileName string) (*bytes.Buffer, error) + func (rs *ReceiveSession) FetchFileWithProgressBar(fileName string, progress *pterm.ProgressbarPrinter) (*bytes.Buffer, error) + func (rs *ReceiveSession) FetchMeta() (*dto.Meta, error) + func (rs *ReceiveSession) FileContentsInWorkDir(fileName string) ([]byte, error) + func (rs *ReceiveSession) MetaUrlRelativeToBaseUrl() string + func (rs *ReceiveSession) SetMTimeInWorkDir(fileName string, mtime time.Time) error + func (rs *ReceiveSession) StatInWorkDir(fileName string) (os.FileInfo, error) + type State string Other modules containing this package github.com/sandstorm/synco