Skip to content

Commit

Permalink
chore: fix function names in comment
Browse files Browse the repository at this point in the history
Signed-off-by: kindknow <[email protected]>
  • Loading branch information
kindknow authored and twpayne committed Apr 11, 2024
1 parent b1f40b8 commit 6712140
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/chezmoi/ageencryption.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func parseIdentityFile(identityFile AbsPath) (identities []age.Identity, err err
return
}

// parseRecipientFile parses the recipients from recipientsFile using the
// parseRecipientsFile parses the recipients from recipientsFile using the
// builtin age.
func parseRecipientsFile(recipientsFile AbsPath) (recipients []age.Recipient, err error) {
var file *os.File
Expand Down
2 changes: 1 addition & 1 deletion internal/chezmoi/sourcestate.go
Original file line number Diff line number Diff line change
Expand Up @@ -1602,7 +1602,7 @@ func (s *SourceState) getExternalDataRaw(
return data, nil
}

// getExternalDataRaw reads the external data for externalRelPath from
// getExternalData reads the external data for externalRelPath from
// external.URL.
func (s *SourceState) getExternalData(
ctx context.Context,
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/keepassxctemplatefuncs.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (c *Config) keepassxcAttributeTemplateFunc(entry, attribute string) string
return outputStr
}

// keepassxcOutputCachePassword returns the output of command and args.
// keepassxcOutput returns the output of command and args.
func (c *Config) keepassxcOutput(command string, args ...string) ([]byte, error) {
if c.Keepassxc.Database.Empty() {
panic(errors.New("keepassxc.database not set"))
Expand Down

0 comments on commit 6712140

Please sign in to comment.