Documentation
¶
Overview ¶
Package pass provides a Go API for pass, the standard UNIX password manager (http://passwordstore.org).
The API of the package aims to be close to each of the subcommands of the pass program. See the doc comments on each function for details and differences. Some of the subcommands are omitted from the API since I don't have a need for them currently.
Index ¶
- func Copy(ctx context.Context, oldPath, newPath string, force bool, opts *Options) error
- func Git(ctx context.Context, gitArgs []string, opts *Options) error
- func Init(ctx context.Context, gpgID, subfolder string, opts *Options) error
- func Insert(ctx context.Context, name string, content []byte, force bool, opts *Options) error
- func List(ctx context.Context, subfolder string, opts *Options) ([]string, error)
- func Move(ctx context.Context, oldPath, newPath string, force bool, opts *Options) error
- func Remove(ctx context.Context, name string, recursive, force bool, opts *Options) error
- func Show(ctx context.Context, name, gpgPassphrase string, opts *Options) ([]byte, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
List is equivalent to the "ls" subcommand.
Unlike the original subcommand, this function does not follow and list the contents of symbolic links.
Types ¶
Click to show internal directories.
Click to hide internal directories.