Documentation ¶
Overview ¶
Package fs implement a password-store compatible on disk storage layout with unencrypted paths. TODO(2.x) DEPRECATED and slated for removal in the 2.0.0 release.
Index ¶
- type Store
- func (s *Store) Add(ctx context.Context, args ...string) error
- func (s *Store) AddRemote(ctx context.Context, remote, url string) error
- func (s *Store) Cmd(ctx context.Context, name string, args ...string) error
- func (s *Store) Commit(ctx context.Context, msg string) error
- func (s *Store) Compact(context.Context) error
- func (s *Store) Delete(ctx context.Context, name string) error
- func (s *Store) Exists(ctx context.Context, name string) bool
- func (s *Store) Fsck(ctx context.Context) error
- func (s *Store) Get(ctx context.Context, name string) ([]byte, error)
- func (s *Store) GetRevision(context.Context, string, string) ([]byte, error)
- func (s *Store) Init(context.Context, string, string) error
- func (s *Store) InitConfig(context.Context, string, string) error
- func (s *Store) IsDir(ctx context.Context, name string) bool
- func (s *Store) List(ctx context.Context, prefix string) ([]string, error)
- func (s *Store) Name() string
- func (s *Store) Path() string
- func (s *Store) Prune(ctx context.Context, prefix string) error
- func (s *Store) Pull(ctx context.Context, origin, branch string) error
- func (s *Store) Push(ctx context.Context, origin, branch string) error
- func (s *Store) RemoveRemote(ctx context.Context, remote string) error
- func (s *Store) Revisions(context.Context, string) ([]backend.Revision, error)
- func (s *Store) Set(ctx context.Context, name string, value []byte) error
- func (s *Store) Status(context.Context) ([]byte, error)
- func (s *Store) String() string
- func (s *Store) Version(context.Context) semver.Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a fs based store
func (*Store) GetRevision ¶
GetRevision is not implemented
func (*Store) InitConfig ¶
InitConfig does nothing
func (*Store) List ¶
List returns a list of all entities e.g. foo, far/bar baz/.bang directory separator are normalized using `/`
func (*Store) RemoveRemote ¶
RemoveRemote does nothing
Click to show internal directories.
Click to hide internal directories.