_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c28700
train
// CreatePrivateKeyBatch creates a new keypair
{ "resource": "" }
c28701
train
// WithAlwaysTrust will return a context with the flag for always trust set
{ "resource": "" }
c28702
train
// NewPubring initializes a new public key ring
{ "resource": "" }
c28703
train
// LoadPubring loads an existing keyring from disk. If the file is not // found an empty keyring is returned.
{ "resource": "" }
c28704
train
// Contains checks if a given key is in the keyring
{ "resource": "" }
c28705
train
// KeyIDs returns a list of all key IDs
{ "resource": "" }
c28706
train
// Export marshals a single key
{ "resource": "" }
c28707
train
// Import unmarshals and inserts and previously exported key
{ "resource": "" }
c28708
train
// Set inserts a key, possibly overwriting and existing entry
{ "resource": "" }
c28709
train
// Remove deletes a single key
{ "resource": "" }
c28710
train
// ConfigMap returns a map of stringified config values for easy printing
{ "resource": "" }
c28711
train
// RemoveMount removes and existing mount
{ "resource": "" }
c28712
train
// Mounts returns a map of mounts with their paths
{ "resource": "" }
c28713
train
// MountPoints returns a sorted list of mount points. It encodes the logic that // the longer a mount point the more specific it is. This allows to "shadow" a // shorter mount point by a longer one.
{ "resource": "" }
c28714
train
// MountPoint returns the most-specific mount point for the given key
{ "resource": "" }
c28715
train
// getStore returns the Store object at the most-specific mount point for the // given key // context with sub store options set, sub store reference, truncated path to secret
{ "resource": "" }
c28716
train
// WithConfig populates the context with the substore config
{ "resource": "" }
c28717
train
// GetSubStore returns an exact match for a mount point or an error if this // mount point does not exist
{ "resource": "" }
c28718
train
// checkMounts performs some sanity checks on our mounts. At the moment it // only checks if some path is mounted twice.
{ "resource": "" }
c28719
train
// Version prints the gopass version
{ "resource": "" }
c28720
train
// killPrecedessors will kill any previous "gopass unclip" invokations to avoid // erasing the clipboard prematurely in case the the same content is copied to // the clipboard repeatedly
{ "resource": "" }
c28721
train
// Execute executes the given template
{ "resource": "" }
c28722
train
// Value returns the value of the given key if the body contained valid // YAML
{ "resource": "" }
c28723
train
// SetValue sets a key to a given value. Will fail if an non-empty body exists
{ "resource": "" }
c28724
train
// DeleteKey key will delete a single key from an decoded map
{ "resource": "" }
c28725
train
// decodeYAML attempts to decode an optional YAML part of a secret
{ "resource": "" }
c28726
train
// ListPublicKeyIDs does nothing
{ "resource": "" }
c28727
train
// KeysByIdUsage implements openpgp.Keyring
{ "resource": "" }
c28728
train
// SigningKeys returns a list of signing keys
{ "resource": "" }
c28729
train
// isPublicSuffix returns true if this host is one users can or could directly // register names
{ "resource": "" }
c28730
train
// Recipients returns the list of recipients of this store
{ "resource": "" }
c28731
train
// AddRecipient adds a new recipient to the list
{ "resource": "" }
c28732
train
// SaveRecipients persists the current recipients on disk
{ "resource": "" }
c28733
train
// SetRecipients will update the stored recipients and the associated checksum
{ "resource": "" }
c28734
train
// RemoveRecipient will remove the given recipient from the store // but if this key is not available on this machine we // just try to remove it literally
{ "resource": "" }
c28735
train
// ExportMissingPublicKeys will export any possibly missing public keys to the // stores .public-keys directory
{ "resource": "" }
c28736
train
// unmarshal Recipients line by line from a io.Reader.
{ "resource": "" }
c28737
train
// Print formats and prints the given string
{ "resource": "" }
c28738
train
// Debug prints the given string if the debug flag is set
{ "resource": "" }
c28739
train
// Black prints the string in black
{ "resource": "" }
c28740
train
// Blue prints the string in blue
{ "resource": "" }
c28741
train
// Cyan prints the string in cyan
{ "resource": "" }
c28742
train
// Green prints the string in green
{ "resource": "" }
c28743
train
// Magenta prints the string in magenta
{ "resource": "" }
c28744
train
// Red prints the string in red
{ "resource": "" }
c28745
train
// Error prints the string in red to stderr
{ "resource": "" }
c28746
train
// White prints the string in white
{ "resource": "" }
c28747
train
// Yellow prints the string in yellow
{ "resource": "" }
c28748
train
// Len returns the number of entries in this folder and all subfolder including // this folder itself
{ "resource": "" }
c28749
train
// Format returns a pretty printed tree
{ "resource": "" }
c28750
train
// AddFile adds a new file
{ "resource": "" }
c28751
train
// AddTemplate adds a new template
{ "resource": "" }
c28752
train
// newFolder creates a new, initialized folder
{ "resource": "" }
c28753
train
// getFolder returns a direct sub-folder within this folder. // name MUST NOT include filepath separators. If there is no // such folder a new one is created with that name.
{ "resource": "" }
c28754
train
// FindFolder returns a sub-tree or nil, if the subtree does not exist
{ "resource": "" }
c28755
train
// findFolder recursively tries to find the named sub-folder
{ "resource": "" }
c28756
train
// addFile adds new file
{ "resource": "" }
c28757
train
// ReadAndRespond a single message
{ "resource": "" }
c28758
train
// RespondError sends err as JSON response
{ "resource": "" }
c28759
train
// New creates a new pinentry client
{ "resource": "" }
c28760
train
// Confirm sends the confirm message
{ "resource": "" }
c28761
train
// Set sets a key
{ "resource": "" }
c28762
train
// GetPin asks for the pin
{ "resource": "" }
c28763
train
// Config handles changes to the gopass configuration
{ "resource": "" }
c28764
train
// ConfigComplete will print the list of valid config keys
{ "resource": "" }
c28765
train
// Umask extracts the umask from env
{ "resource": "" }
c28766
train
// Initialized checks on disk if .gpg-id was generated and thus returns true.
{ "resource": "" }
c28767
train
// Lookup performs a lookup against the HIBP v2 API
{ "resource": "" }
c28768
train
// GitInit initializes a git repo including basic configuration
{ "resource": "" }
c28769
train
// GitAddRemote adds a new git remote
{ "resource": "" }
c28770
train
// GitPull pulls from a git remote
{ "resource": "" }
c28771
train
// GitPush pushes to a git remote
{ "resource": "" }
c28772
train
// New creates a new store, copying settings from the given root store
{ "resource": "" }
c28773
train
// idFile returns the path to the recipient list for this.storage // it walks up from the given filename until it finds a directory containing // a gpg id file or it leaves the scope of this.storage.
{ "resource": "" }
c28774
train
// Equals returns true if this.storage has the same on-disk path as the other
{ "resource": "" }
c28775
train
// IsDir returns true if the entry is folder inside the store
{ "resource": "" }
c28776
train
// Path returns the value of path
{ "resource": "" }
c28777
train
// ListPrivateKeys list the XC private keys
{ "resource": "" }
c28778
train
// GenerateKeypair generates a new XC keypair
{ "resource": "" }
c28779
train
// ExportPrivateKey exports an XC key
{ "resource": "" }
c28780
train
// ImportPrivateKey imports an XC key
{ "resource": "" }
c28781
train
// EncryptFile encrypts a single file
{ "resource": "" }
c28782
train
// DecryptFile decrypts a single file
{ "resource": "" }
c28783
train
// EncryptFileStream encrypts a single file
{ "resource": "" }
c28784
train
// DecryptFileStream decrypts a single file
{ "resource": "" }
c28785
train
// WriteTo writes the given credentials to the given io.Writer in the git-credential format
{ "resource": "" }
c28786
train
// GitCredentialBefore is executed before another git-credential command
{ "resource": "" }
c28787
train
// GitCredentialGet returns a credential to git
{ "resource": "" }
c28788
train
// GitCredentialStore stores a credential got from git
{ "resource": "" }
c28789
train
// GitCredentialErase removes a credential got from git
{ "resource": "" }
c28790
train
// GitCredentialConfigure configures gopass as git's credential.helper
{ "resource": "" }
c28791
train
// format will format this leaf node for pretty printing
{ "resource": "" }
c28792
train
// Selection return the list of actions
{ "resource": "" }
c28793
train
// Run executes the selected action
{ "resource": "" }
c28794
train
// New creates a new scanner
{ "resource": "" }
c28795
train
// LookupBatch takes a slice SHA1 hashes and matches them against // the provided dumps
{ "resource": "" }
c28796
train
// Add does nothing
{ "resource": "" }
c28797
train
// Commit does nothing
{ "resource": "" }
c28798
train
// Push does nothing
{ "resource": "" }
c28799
train
// Cmd does nothing
{ "resource": "" }