Versions in this module Expand all Collapse all v0 v0.1.0 Oct 26, 2020 Changes in this version + type ErrEntryAlreadyExists struct + Path string + func (e ErrEntryAlreadyExists) Error() string + type ErrEntryDoesntExist struct + Path string + func (e ErrEntryDoesntExist) Error() string + type ErrStoreDecrypted struct + Path string + func (e ErrStoreDecrypted) Error() string + type ErrStoreEncrypted struct + Path string + func (e ErrStoreEncrypted) Error() string + type Store struct + Path string + func Load(path string) (*Store, error) + func (s *Store) Attach(path, attachmentPath string) error + func (s *Store) Collection() (*entries.Collection, error) + func (s *Store) Create(path, content string) error + func (s *Store) Decrypt(passwordFunc func() (string, error)) error + func (s *Store) Delete(path string) error + func (s *Store) DisableGit() + func (s *Store) Encrypt() error + func (s *Store) Encrypted() (bool, error) + func (s *Store) Update(path, content string) error + func (s *Store) UsingGit() bool